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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001611, allocations: 181.3 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 2.044/2.044, 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.001626/0.001626, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2913/0.2913, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.848e-05, allocations: 0 / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.6574, allocations: 95.11 MB / 0.5658 GB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.6578, allocations: 84.73 kB / 0.5658 GB, free: 8.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08159/0.7394, allocations: 17.02 MB / 0.5825 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7395, allocations: 0 / 0.5825 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.891e-05/0.7396, allocations: 16 kB / 0.5825 GB, free: 9.766 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.004398/0.744, allocations: 0.9908 MB / 0.5834 GB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.7441, allocations: 8.031 kB / 0.5835 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000655/0.7448, allocations: 183.5 kB / 0.5836 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.7472, allocations: 238.3 kB / 0.5839 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.7493, allocations: 0.5723 MB / 0.5844 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.7494, allocations: 69.34 kB / 0.5845 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.7498, allocations: 80.86 kB / 0.5846 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.7542, allocations: 1.701 MB / 0.5862 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/0.7543, allocations: 11.92 kB / 0.5862 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.7545, allocations: 37.55 kB / 0.5863 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006247/0.7552, allocations: 185.7 kB / 0.5864 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.7587, allocations: 1.122 MB / 0.5875 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.7726, allocations: 7.526 MB / 0.5949 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.7731, allocations: 149.8 kB / 0.595 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.7733, allocations: 78.7 kB / 0.5951 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.7734, allocations: 7.984 kB / 0.5951 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.7734, allocations: 42.42 kB / 0.5952 GB, free: 14.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.086e-06/0.7734, allocations: 4 kB / 0.5952 GB, free: 14.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007776/0.7742, allocations: 241.4 kB / 0.5954 GB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.7743, allocations: 51.41 kB / 0.5954 GB, free: 13.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.7763, allocations: 0.8555 MB / 0.5963 GB, free: 13.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.7764, allocations: 32.77 kB / 0.5963 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.7772, allocations: 0.7056 MB / 0.597 GB, free: 12.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.7773, allocations: 61.98 kB / 0.5971 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.7774, allocations: 22.5 kB / 0.5971 GB, free: 12.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.7776, allocations: 364 kB / 0.5974 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.7782, allocations: 226.4 kB / 0.5976 GB, free: 12.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.7795, allocations: 0.9153 MB / 0.5985 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7807, allocations: 448.8 kB / 0.599 GB, free: 10.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.7808, allocations: 8 kB / 0.599 GB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003075/0.7839, allocations: 1.077 MB / 0.6 GB, free: 9.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.784, allocations: 16 kB / 0.6 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/0.784, allocations: 27.94 kB / 0.6001 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.439e-05/0.7841, allocations: 36 kB / 0.6001 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.7857, allocations: 249.9 kB / 0.6003 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.775e-05/0.7858, allocations: 51.73 kB / 0.6004 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.7873, allocations: 160.9 kB / 0.6005 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.7876, allocations: 70.94 kB / 0.6006 GB, free: 9.152 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.0002953/0.7879, allocations: 208.2 kB / 0.6008 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.7881, allocations: 71.06 kB / 0.6009 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.789, allocations: 278.2 kB / 0.6011 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.789, allocations: 0 / 0.6011 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.789, allocations: 11.92 kB / 0.6011 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.789, allocations: 0 / 0.6011 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.7908, allocations: 0.7326 MB / 0.6019 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7908, allocations: 4 kB / 0.6019 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.7913, allocations: 35.91 kB / 0.6019 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.7913, allocations: 0 / 0.6019 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.7913, allocations: 7.172 kB / 0.6019 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7914, allocations: 8 kB / 0.6019 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7914, allocations: 0 / 0.6019 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.7921, allocations: 345.2 kB / 0.6022 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.7925, allocations: 153.8 kB / 0.6024 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.7926, allocations: 3.984 kB / 0.6024 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005174/0.7932, allocations: 19.05 kB / 0.6024 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.7933, allocations: 11.98 kB / 0.6024 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.7933, allocations: 15.05 kB / 0.6024 GB, free: 7.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00141/0.7947, allocations: 0.6079 MB / 0.603 GB, free: 7.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7948, allocations: 0 / 0.603 GB, free: 7.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001437/0.7962, allocations: 227.7 kB / 0.6032 GB, free: 6.824 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.001181/0.7975, allocations: 0.8852 MB / 0.6041 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.7991, allocations: 0.5503 MB / 0.6047 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7991, allocations: 4 kB / 0.6047 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.7994, allocations: 93.19 kB / 0.6047 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.8002, allocations: 81.16 kB / 0.6048 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.8054, allocations: 1.494 MB / 0.6063 GB, free: 4.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.8069, allocations: 1.169 MB / 0.6074 GB, free: 2.992 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007469/0.8077, allocations: 357.5 kB / 0.6078 GB, free: 2.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8077, allocations: 0 / 0.6078 GB, free: 2.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/3.58, allocations: 15.05 MB / 0.6225 GB, free: 4.102 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)