Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01026/0.01026, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.727/1.727, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002008/0.002008, allocations: 111.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4652/0.4652, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004784, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 48.72 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5618, allocations: 81.14 MB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5622, allocations: 74.84 kB / 492.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06565/0.6278, allocations: 16.37 MB / 0.4973 GB, free: 8.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6279, allocations: 0 / 0.4973 GB, free: 8.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.517e-05/0.628, allocations: 20 kB / 0.4974 GB, free: 8.512 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002892/0.6309, allocations: 1.056 MB / 0.4984 GB, free: 7.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.631, allocations: 12.03 kB / 0.4984 GB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004813/0.6314, allocations: 172.5 kB / 0.4986 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.6337, allocations: 237.7 kB / 0.4988 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.6354, allocations: 0.5629 MB / 0.4993 GB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.6355, allocations: 68.41 kB / 0.4994 GB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.6357, allocations: 84.61 kB / 0.4995 GB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.6397, allocations: 1.722 MB / 0.5012 GB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.6398, allocations: 11.88 kB / 0.5012 GB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.64, allocations: 40.36 kB / 0.5012 GB, free: 5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005643/0.6405, allocations: 171.3 kB / 0.5014 GB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.6441, allocations: 1.179 MB / 0.5025 GB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.6561, allocations: 7.446 MB / 0.5098 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.6569, allocations: 175.9 kB / 0.51 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.657, allocations: 0 / 0.51 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.657, allocations: 42.42 kB / 0.51 GB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.657, allocations: 4 kB / 0.51 GB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001465/0.6585, allocations: 377 kB / 0.5104 GB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6586, allocations: 59.41 kB / 0.5104 GB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.6602, allocations: 0.8441 MB / 0.5113 GB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.6603, allocations: 29.7 kB / 0.5113 GB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006064/0.6609, allocations: 0.6747 MB / 0.5119 GB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.661, allocations: 61.48 kB / 0.512 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.6611, allocations: 18.25 kB / 0.512 GB, free: 11.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6613, allocations: 390.7 kB / 0.5124 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.6621, allocations: 256.2 kB / 0.5126 GB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.6635, allocations: 0.9268 MB / 0.5135 GB, free: 9.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6647, allocations: 463 kB / 0.514 GB, free: 9.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.6647, allocations: 8 kB / 0.514 GB, free: 9.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003336/0.6681, allocations: 1.155 MB / 0.5151 GB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.6682, allocations: 16 kB / 0.5151 GB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.981e-05/0.6682, allocations: 24 kB / 0.5152 GB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.516e-05/0.6683, allocations: 39.94 kB / 0.5152 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.6697, allocations: 238.6 kB / 0.5154 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.538e-05/0.6698, allocations: 47.78 kB / 0.5155 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.671, allocations: 160.8 kB / 0.5156 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.6712, allocations: 70.17 kB / 0.5157 GB, free: 7.758 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 18 (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 (123): * Single equations (assignments): 123 * 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.0009975/0.6722, allocations: 459.9 kB / 0.5161 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.6724, allocations: 75.02 kB / 0.5162 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6736, allocations: 328.2 kB / 0.5165 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.6736, allocations: 0 / 0.5165 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6737, allocations: 4 kB / 0.5165 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6737, allocations: 0 / 0.5165 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.6753, allocations: 0.7315 MB / 0.5172 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6753, allocations: 0 / 0.5172 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.6757, allocations: 31.97 kB / 0.5173 GB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6757, allocations: 3.953 kB / 0.5173 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.6758, allocations: 8 kB / 0.5173 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.6758, allocations: 0 / 0.5173 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6758, allocations: 3.938 kB / 0.5173 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.6769, allocations: 386.5 kB / 0.5176 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.6772, allocations: 180 kB / 0.5178 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6774, allocations: 3.953 kB / 0.5178 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.6779, allocations: 23.98 kB / 0.5178 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.678, allocations: 11.97 kB / 0.5179 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.678, allocations: 4 kB / 0.5179 GB, free: 5.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.6793, allocations: 0.6083 MB / 0.5185 GB, free: 4.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6793, allocations: 4 kB / 0.5185 GB, free: 4.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00129/0.6806, allocations: 211.2 kB / 0.5187 GB, free: 4.617 MB / 362.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.001463/0.6821, allocations: 0.9426 MB / 0.5196 GB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.6839, allocations: 0.5836 MB / 0.5202 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6839, allocations: 0 / 0.5202 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.6843, allocations: 124.3 kB / 0.5203 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.685, allocations: 83.16 kB / 0.5203 GB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.7031, allocations: 21.82 MB / 0.5417 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.7044, allocations: 1.16 MB / 0.5428 GB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.7059, allocations: 269.8 kB / 0.543 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/0.7066, allocations: 343.3 kB / 0.5434 GB, free: 10.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7066, allocations: 4 kB / 0.5434 GB, free: 10.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.7546, allocations: 13.31 MB / 0.5564 GB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/0.7551, allocations: 164.7 kB / 0.5565 GB, free: 13.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.7, allocations: 0 / 0.5565 GB, free: 13.21 MB / 410.7 MB