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.002172/0.002171, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001104, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3173/0.3173, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.816e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.5978, allocations: 95.11 MB / 0.5657 GB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.598, allocations: 83.92 kB / 0.5657 GB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06971/0.6678, allocations: 17.03 MB / 0.5824 GB, free: 9.852 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6678, allocations: 0 / 0.5824 GB, free: 9.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.055e-05/0.6679, allocations: 16 kB / 0.5824 GB, free: 9.836 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002254/0.6701, allocations: 0.9924 MB / 0.5834 GB, free: 8.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6702, allocations: 12.02 kB / 0.5834 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.6725, allocations: 230.3 kB / 0.5836 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.6743, allocations: 0.573 MB / 0.5842 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.6744, allocations: 65.42 kB / 0.5842 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.6746, allocations: 85.47 kB / 0.5843 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/0.6783, allocations: 1.696 MB / 0.586 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.6784, allocations: 7.938 kB / 0.586 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.6786, allocations: 46.97 kB / 0.586 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005941/0.6792, allocations: 178.4 kB / 0.5862 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.6822, allocations: 1.127 MB / 0.5873 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.6943, allocations: 7.539 MB / 0.5946 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.6948, allocations: 150.4 kB / 0.5948 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.695, allocations: 80.7 kB / 0.5949 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.695, allocations: 4 kB / 0.5949 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6951, allocations: 38.48 kB / 0.5949 GB, free: 14.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/0.6951, allocations: 4 kB / 0.5949 GB, free: 14.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006908/0.6958, allocations: 237.6 kB / 0.5951 GB, free: 14.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6958, allocations: 51.41 kB / 0.5952 GB, free: 14.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.6975, allocations: 0.8549 MB / 0.596 GB, free: 13.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.6976, allocations: 29.7 kB / 0.596 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.6982, allocations: 0.7056 MB / 0.5967 GB, free: 12.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.6983, allocations: 64.55 kB / 0.5968 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.6984, allocations: 22.88 kB / 0.5968 GB, free: 12.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6986, allocations: 365.4 kB / 0.5972 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.6992, allocations: 234.3 kB / 0.5974 GB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.7003, allocations: 0.909 MB / 0.5983 GB, free: 11.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.7013, allocations: 453 kB / 0.5987 GB, free: 10.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.7013, allocations: 8 kB / 0.5987 GB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002549/0.7039, allocations: 1.073 MB / 0.5998 GB, free: 9.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.704, allocations: 20.06 kB / 0.5998 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.704, allocations: 24 kB / 0.5998 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.529e-05/0.7041, allocations: 36 kB / 0.5998 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.7056, allocations: 246.6 kB / 0.6001 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.163e-05/0.7056, allocations: 55.78 kB / 0.6001 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7069, allocations: 160.8 kB / 0.6003 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7071, allocations: 66.5 kB / 0.6003 GB, free: 9.352 MB / 410.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 () * 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.0002531/0.7073, allocations: 207 kB / 0.6005 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.7075, allocations: 74.75 kB / 0.6006 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/0.7083, allocations: 276.6 kB / 0.6009 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7083, allocations: 7.938 kB / 0.6009 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7083, allocations: 4 kB / 0.6009 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.7083, allocations: 3.984 kB / 0.6009 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.7098, allocations: 0.7298 MB / 0.6016 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7098, allocations: 0 / 0.6016 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.7102, allocations: 31.97 kB / 0.6016 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.7102, allocations: 0 / 0.6016 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.7102, allocations: 7.484 kB / 0.6016 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7102, allocations: 4 kB / 0.6016 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7103, allocations: 4 kB / 0.6016 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.7109, allocations: 346.1 kB / 0.602 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.7112, allocations: 158.2 kB / 0.6021 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7114, allocations: 3.984 kB / 0.6021 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.7119, allocations: 19.42 kB / 0.6022 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.712, allocations: 7.984 kB / 0.6022 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.712, allocations: 8 kB / 0.6022 GB, free: 7.691 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.7133, allocations: 0.6123 MB / 0.6028 GB, free: 7.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7133, allocations: 0 / 0.6028 GB, free: 7.234 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001328/0.7146, allocations: 232.9 kB / 0.603 GB, free: 7.023 MB / 410.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 () * 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.0002242/0.7149, allocations: 99.17 kB / 0.6031 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.7163, allocations: 0.5546 MB / 0.6036 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7164, allocations: 0 / 0.6036 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7166, allocations: 86.83 kB / 0.6037 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.7173, allocations: 87.28 kB / 0.6038 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.7206, allocations: 1.231 MB / 0.605 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.7218, allocations: 1.175 MB / 0.6061 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.7221, allocations: 62.36 kB / 0.6062 GB, free: 4.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7221, allocations: 0 / 0.6062 GB, free: 4.113 MB / 410.7 MB Notification: Performance of Templates: time 0.02528/0.7474, allocations: 10.15 MB / 0.6161 GB, free: 10.12 MB / 426.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)