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.001558/0.001558, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001154/0.001153, allocations: 100.9 kB / 270.9 MB, free: 8.363 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.5201/0.5201, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006569, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1347, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5393/0.674, allocations: 95.2 MB / 0.5718 GB, free: 7.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.6744, allocations: 83.95 kB / 0.5719 GB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07138/0.7458, allocations: 17.04 MB / 0.5885 GB, free: 6.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7459, allocations: 0 / 0.5885 GB, free: 6.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.7459, allocations: 16 kB / 0.5885 GB, free: 6.129 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.002655/0.7486, allocations: 1.083 MB / 0.5896 GB, free: 5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.7487, allocations: 8.031 kB / 0.5896 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003693/0.7491, allocations: 181.5 kB / 0.5898 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.7512, allocations: 237.8 kB / 0.59 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.7529, allocations: 0.5743 MB / 0.5905 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.753, allocations: 65.98 kB / 0.5906 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.7532, allocations: 87.97 kB / 0.5907 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.7572, allocations: 1.728 MB / 0.5924 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.7573, allocations: 7.938 kB / 0.5924 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.7575, allocations: 41.02 kB / 0.5924 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006053/0.7581, allocations: 185.3 kB / 0.5926 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.7619, allocations: 1.188 MB / 0.5938 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.7749, allocations: 7.54 MB / 0.6011 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.7757, allocations: 178.4 kB / 0.6013 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.7758, allocations: 7.984 kB / 0.6013 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.7758, allocations: 38.56 kB / 0.6013 GB, free: 8.418 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.7758, allocations: 0 / 0.6013 GB, free: 8.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001516/0.7773, allocations: 379.5 kB / 0.6017 GB, free: 8.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.7774, allocations: 59.39 kB / 0.6018 GB, free: 7.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.7792, allocations: 0.8514 MB / 0.6026 GB, free: 7.113 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.7793, allocations: 29.7 kB / 0.6026 GB, free: 7.078 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.7799, allocations: 0.7162 MB / 0.6033 GB, free: 6.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.78, allocations: 63.28 kB / 0.6034 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.7801, allocations: 20 kB / 0.6034 GB, free: 6.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7803, allocations: 362.7 kB / 0.6037 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008402/0.7812, allocations: 265.8 kB / 0.604 GB, free: 5.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.7826, allocations: 0.941 MB / 0.6049 GB, free: 4.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.7839, allocations: 471.4 kB / 0.6054 GB, free: 3.895 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.784, allocations: 4 kB / 0.6054 GB, free: 3.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003104/0.7871, allocations: 1.138 MB / 0.6065 GB, free: 2.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.7872, allocations: 20.03 kB / 0.6065 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/0.7872, allocations: 28 kB / 0.6065 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.451e-05/0.7873, allocations: 39.98 kB / 0.6066 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7887, allocations: 247.5 kB / 0.6068 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.075e-05/0.7888, allocations: 47.84 kB / 0.6068 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.79, allocations: 162.4 kB / 0.607 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.7901, allocations: 64 kB / 0.6071 GB, free: 2.148 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.0009843/0.7911, allocations: 479.2 kB / 0.6075 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.7913, allocations: 71.06 kB / 0.6076 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.7926, allocations: 321.1 kB / 0.6079 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7926, allocations: 0 / 0.6079 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7926, allocations: 0 / 0.6079 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7926, allocations: 0 / 0.6079 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.7942, allocations: 0.7471 MB / 0.6086 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7942, allocations: 4 kB / 0.6086 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.7946, allocations: 35.97 kB / 0.6087 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7946, allocations: 3.938 kB / 0.6087 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.7946, allocations: 4 kB / 0.6087 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.7946, allocations: 3.984 kB / 0.6087 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7947, allocations: 0 / 0.6087 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.7957, allocations: 401.3 kB / 0.6091 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.796, allocations: 152.1 kB / 0.6092 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7962, allocations: 0 / 0.6092 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.7967, allocations: 23.98 kB / 0.6092 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.7968, allocations: 11.97 kB / 0.6092 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.7968, allocations: 7.938 kB / 0.6092 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001332/0.7981, allocations: 0.62 MB / 0.6098 GB, free: 15.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7982, allocations: 0 / 0.6098 GB, free: 15.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00132/0.7995, allocations: 223.2 kB / 0.6101 GB, free: 14.98 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.001445/0.801, allocations: 0.9379 MB / 0.611 GB, free: 14.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.8029, allocations: 0.5983 MB / 0.6116 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8029, allocations: 0 / 0.6116 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.8033, allocations: 112.9 kB / 0.6117 GB, free: 13.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.804, allocations: 78.56 kB / 0.6117 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.8238, allocations: 22.49 MB / 0.6337 GB, free: 6.168 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.8251, allocations: 1.171 MB / 0.6349 GB, free: 4.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.8258, allocations: 359.3 kB / 0.6352 GB, free: 4.617 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8259, allocations: 0 / 0.6352 GB, free: 4.617 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.71/3.536, allocations: 15.21 MB / 0.65 GB, free: 5.426 MB / 474.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)