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.001766/0.001765, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009911/0.0009909, allocations: 89.92 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4681/0.4681, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006012/0.0006016, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1549, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5874, allocations: 95.29 MB / 0.573 GB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.5878, allocations: 87.14 kB / 0.5731 GB, free: 6.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06304/0.6508, allocations: 16.91 MB / 0.5896 GB, free: 5.898 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6509, allocations: 0 / 0.5896 GB, free: 5.898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.965e-05/0.651, allocations: 16 kB / 0.5896 GB, free: 5.883 MB / 410.7 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.003067/0.6541, allocations: 1.064 MB / 0.5906 GB, free: 4.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6541, allocations: 8.031 kB / 0.5906 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.6562, allocations: 235.2 kB / 0.5909 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6578, allocations: 0.591 MB / 0.5914 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.6579, allocations: 70.3 kB / 0.5915 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.6582, allocations: 84.34 kB / 0.5916 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/0.6622, allocations: 1.74 MB / 0.5933 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.6623, allocations: 8.125 kB / 0.5933 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.6624, allocations: 47.91 kB / 0.5933 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004582/0.6629, allocations: 173.4 kB / 0.5935 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.666, allocations: 1.188 MB / 0.5947 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.6767, allocations: 7.547 MB / 0.602 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.6773, allocations: 182.5 kB / 0.6022 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.6777, allocations: 100.8 kB / 0.6023 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.6777, allocations: 4 kB / 0.6023 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6778, allocations: 30.67 kB / 0.6023 GB, free: 8.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.046e-06/0.6778, allocations: 3.938 kB / 0.6023 GB, free: 8.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001269/0.6791, allocations: 389.8 kB / 0.6027 GB, free: 7.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6791, allocations: 55.41 kB / 0.6028 GB, free: 7.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.681, allocations: 0.9575 MB / 0.6037 GB, free: 6.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.6811, allocations: 29.7 kB / 0.6037 GB, free: 6.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.6817, allocations: 0.6863 MB / 0.6044 GB, free: 6.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.702e-05/0.6818, allocations: 63.36 kB / 0.6045 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.6819, allocations: 20 kB / 0.6045 GB, free: 6.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6821, allocations: 386.8 kB / 0.6048 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.6828, allocations: 269.8 kB / 0.6051 GB, free: 5.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.6841, allocations: 0.9527 MB / 0.606 GB, free: 4.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.6861, allocations: 1.299 MB / 0.6073 GB, free: 2.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.6862, allocations: 8 kB / 0.6073 GB, free: 2.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002903/0.6891, allocations: 1.169 MB / 0.6085 GB, free: 1.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.6892, allocations: 19.98 kB / 0.6085 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.629e-05/0.6892, allocations: 24 kB / 0.6085 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.759e-05/0.6893, allocations: 35.94 kB / 0.6085 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.6904, allocations: 247.5 kB / 0.6088 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.674e-05/0.6905, allocations: 48.2 kB / 0.6088 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6917, allocations: 162.4 kB / 0.609 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.6919, allocations: 67.98 kB / 0.609 GB, free: 0.6367 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0009132/0.6928, allocations: 471.3 kB / 0.6095 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.693, allocations: 75.06 kB / 0.6096 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6941, allocations: 324.3 kB / 0.6099 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6941, allocations: 8 kB / 0.6099 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6941, allocations: 0 / 0.6099 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6942, allocations: 0 / 0.6099 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.6956, allocations: 0.7431 MB / 0.6106 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6956, allocations: 0 / 0.6106 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6959, allocations: 35.91 kB / 0.6106 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.6959, allocations: 0 / 0.6106 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.696, allocations: 11.94 kB / 0.6106 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.696, allocations: 0 / 0.6106 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.696, allocations: 0 / 0.6106 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.6969, allocations: 390.5 kB / 0.611 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.6972, allocations: 160.1 kB / 0.6112 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6973, allocations: 3.938 kB / 0.6112 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.6977, allocations: 15.98 kB / 0.6112 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.6978, allocations: 15.97 kB / 0.6112 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.6979, allocations: 4 kB / 0.6112 GB, free: 14.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.6991, allocations: 0.6161 MB / 0.6118 GB, free: 13.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.934e-06/0.6991, allocations: 3.938 kB / 0.6118 GB, free: 13.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001508/0.7006, allocations: 235.1 kB / 0.612 GB, free: 13.46 MB / 442.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.0001725/0.7008, allocations: 99.25 kB / 0.6121 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.7024, allocations: 0.5993 MB / 0.6127 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7024, allocations: 8 kB / 0.6127 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.7027, allocations: 107.9 kB / 0.6128 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.7036, allocations: 74.47 kB / 0.6129 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.7076, allocations: 1.987 MB / 0.6148 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.7087, allocations: 1.152 MB / 0.616 GB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.709, allocations: 63.42 kB / 0.616 GB, free: 9.316 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.709, allocations: 3.938 kB / 0.616 GB, free: 9.312 MB / 442.7 MB Notification: Performance of Templates: time 0.02251/0.7315, allocations: 10.27 MB / 0.6261 GB, free: 15.05 MB / 458.7 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)