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.002398/0.002398, allocations: 185.7 kB / 16.4 MB, free: 5.746 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.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001639/0.001639, allocations: 101.5 kB / 270.9 MB, free: 8.375 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.5498/0.5498, allocations: 43.56 MB / 362.7 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004561, allocations: 8 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.595, allocations: 95.2 MB / 0.5717 GB, free: 7.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.5954, allocations: 83.95 kB / 0.5718 GB, free: 7.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07182/0.6672, allocations: 17.04 MB / 0.5884 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6673, allocations: 0 / 0.5884 GB, free: 6.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.6673, allocations: 16 kB / 0.5884 GB, free: 6.328 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.002603/0.6699, allocations: 1.072 MB / 0.5895 GB, free: 5.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.67, allocations: 12.03 kB / 0.5895 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.6723, allocations: 233.7 kB / 0.5897 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.6741, allocations: 0.5822 MB / 0.5903 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.6742, allocations: 65.98 kB / 0.5903 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.6745, allocations: 87.97 kB / 0.5904 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.6786, allocations: 1.732 MB / 0.5921 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.6787, allocations: 7.938 kB / 0.5921 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.6788, allocations: 39.98 kB / 0.5922 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.6794, allocations: 186.4 kB / 0.5923 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.683, allocations: 1.184 MB / 0.5935 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.6951, allocations: 7.543 MB / 0.6009 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.6959, allocations: 174.5 kB / 0.601 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.6959, allocations: 11.92 kB / 0.601 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.696, allocations: 30.56 kB / 0.6011 GB, free: 8.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/0.696, allocations: 0 / 0.6011 GB, free: 8.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001538/0.6975, allocations: 391.5 kB / 0.6014 GB, free: 8.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6976, allocations: 55.41 kB / 0.6015 GB, free: 8.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.6995, allocations: 0.8514 MB / 0.6023 GB, free: 7.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6996, allocations: 29.7 kB / 0.6024 GB, free: 7.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/0.7002, allocations: 0.7084 MB / 0.603 GB, free: 6.746 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.7003, allocations: 67.36 kB / 0.6031 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.7004, allocations: 16 kB / 0.6031 GB, free: 6.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7006, allocations: 362.8 kB / 0.6035 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/0.7014, allocations: 269.7 kB / 0.6037 GB, free: 6.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.7028, allocations: 0.9448 MB / 0.6046 GB, free: 4.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.704, allocations: 471.4 kB / 0.6051 GB, free: 4.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.704, allocations: 4 kB / 0.6051 GB, free: 4.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003059/0.7071, allocations: 1.138 MB / 0.6062 GB, free: 3.133 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.7072, allocations: 16 kB / 0.6062 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.7072, allocations: 28 kB / 0.6063 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.096e-05/0.7073, allocations: 40.03 kB / 0.6063 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.7087, allocations: 247.5 kB / 0.6065 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-05/0.7088, allocations: 47.84 kB / 0.6066 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.7099, allocations: 158.4 kB / 0.6067 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.7101, allocations: 64 kB / 0.6068 GB, free: 2.543 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.001051/0.7112, allocations: 479.2 kB / 0.6072 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.7114, allocations: 74.97 kB / 0.6073 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.7126, allocations: 324.3 kB / 0.6076 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7127, allocations: 0 / 0.6076 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7127, allocations: 0 / 0.6076 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7127, allocations: 3.984 kB / 0.6076 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.7143, allocations: 0.7393 MB / 0.6084 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.7143, allocations: 0 / 0.6084 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.7147, allocations: 43.97 kB / 0.6084 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.7148, allocations: 0 / 0.6084 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.7148, allocations: 3.984 kB / 0.6084 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7148, allocations: 3.938 kB / 0.6084 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7148, allocations: 4 kB / 0.6084 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.7159, allocations: 394.4 kB / 0.6088 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.7162, allocations: 156 kB / 0.6089 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7163, allocations: 3.984 kB / 0.6089 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.7168, allocations: 15.98 kB / 0.6089 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.7169, allocations: 15.98 kB / 0.609 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.7169, allocations: 4 kB / 0.609 GB, free: 212 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00135/0.7183, allocations: 0.62 MB / 0.6096 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7183, allocations: 0 / 0.6096 GB, free: 15.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001298/0.7196, allocations: 223.2 kB / 0.6098 GB, free: 15.37 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.0001983/0.7198, allocations: 95.25 kB / 0.6099 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.7217, allocations: 0.6068 MB / 0.6105 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7217, allocations: 0 / 0.6105 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.7222, allocations: 112.2 kB / 0.6106 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.7229, allocations: 92.67 kB / 0.6107 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.7272, allocations: 1.983 MB / 0.6126 GB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.7284, allocations: 1.167 MB / 0.6137 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.7288, allocations: 59.42 kB / 0.6138 GB, free: 11.2 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7288, allocations: 0 / 0.6138 GB, free: 11.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02394/0.7527, allocations: 10.16 MB / 0.6237 GB, free: 1.066 MB / 442.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)