Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009886/0.009886, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.898/1.898, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002066/0.002065, allocations: 124.6 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2531/0.2531, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.000497, allocations: 14.16 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1039, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5146/0.6186, allocations: 87.59 MB / 0.5359 GB, free: 28.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.6189, allocations: 80.91 kB / 0.5359 GB, free: 28.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06486/0.6838, allocations: 16.34 MB / 0.5519 GB, free: 26.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6839, allocations: 0 / 0.5519 GB, free: 26.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-05/0.6839, allocations: 15.62 kB / 0.5519 GB, free: 26.11 MB / 378.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.002231/0.6862, allocations: 1.058 MB / 0.5529 GB, free: 25.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6862, allocations: 11.62 kB / 0.553 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003477/0.6866, allocations: 169.9 kB / 0.5531 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.6886, allocations: 232.8 kB / 0.5533 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.6899, allocations: 0.5647 MB / 0.5539 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.69, allocations: 70.41 kB / 0.554 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6902, allocations: 83.2 kB / 0.554 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.6936, allocations: 1.719 MB / 0.5557 GB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.6936, allocations: 11.84 kB / 0.5557 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.6938, allocations: 44 kB / 0.5558 GB, free: 24.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005074/0.6943, allocations: 177.3 kB / 0.5559 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/0.6973, allocations: 1.181 MB / 0.5571 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.7075, allocations: 7.44 MB / 0.5644 GB, free: 19.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.7082, allocations: 184 kB / 0.5645 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.7083, allocations: 3.562 kB / 0.5645 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.7084, allocations: 34.44 kB / 0.5646 GB, free: 19.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.7084, allocations: 0 / 0.5646 GB, free: 19.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001408/0.7098, allocations: 381 kB / 0.5649 GB, free: 19.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.7099, allocations: 55.41 kB / 0.565 GB, free: 19.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.7114, allocations: 0.8362 MB / 0.5658 GB, free: 19.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.7114, allocations: 29.64 kB / 0.5658 GB, free: 18.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.7119, allocations: 0.6748 MB / 0.5665 GB, free: 18.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.712, allocations: 64.95 kB / 0.5666 GB, free: 18.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.712, allocations: 18.28 kB / 0.5666 GB, free: 18.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7122, allocations: 388.6 kB / 0.5669 GB, free: 18.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.7129, allocations: 263.8 kB / 0.5672 GB, free: 18.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7139, allocations: 0.9169 MB / 0.5681 GB, free: 17.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.7151, allocations: 465.8 kB / 0.5685 GB, free: 17.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.7151, allocations: 7.531 kB / 0.5685 GB, free: 17.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002813/0.7179, allocations: 1.151 MB / 0.5697 GB, free: 17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.718, allocations: 17.81 kB / 0.5697 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.718, allocations: 27.44 kB / 0.5697 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.982e-05/0.7181, allocations: 35.16 kB / 0.5697 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.7194, allocations: 239.7 kB / 0.57 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.635e-05/0.7195, allocations: 50.25 kB / 0.57 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7206, allocations: 163.1 kB / 0.5702 GB, free: 16.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.7208, allocations: 61.78 kB / 0.5702 GB, free: 16.89 MB / 378.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.0008798/0.7217, allocations: 468.3 kB / 0.5707 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7219, allocations: 66.41 kB / 0.5707 GB, free: 16.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.723, allocations: 324.6 kB / 0.571 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.723, allocations: 3.938 kB / 0.5711 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.723, allocations: 0 / 0.5711 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.723, allocations: 4 kB / 0.5711 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.7243, allocations: 0.7314 MB / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7243, allocations: 0 / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.7247, allocations: 38.27 kB / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.7247, allocations: 0 / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.7248, allocations: 3.609 kB / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.7248, allocations: 3.875 kB / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7248, allocations: 0 / 0.5718 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.7257, allocations: 402.8 kB / 0.5722 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.726, allocations: 150 kB / 0.5723 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.7261, allocations: 4 kB / 0.5723 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.7266, allocations: 17.91 kB / 0.5724 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.7267, allocations: 13.88 kB / 0.5724 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.7267, allocations: 3.906 kB / 0.5724 GB, free: 16.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.7279, allocations: 0.6092 MB / 0.573 GB, free: 16.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7279, allocations: 0 / 0.573 GB, free: 16.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001244/0.7292, allocations: 213.9 kB / 0.5732 GB, free: 15.97 MB / 378.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.00127/0.7304, allocations: 0.9361 MB / 0.5741 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.7321, allocations: 0.5976 MB / 0.5747 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7322, allocations: 0 / 0.5747 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.7326, allocations: 114.5 kB / 0.5748 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.7332, allocations: 72.58 kB / 0.5749 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.7516, allocations: 21.8 MB / 0.5961 GB, free: 28.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.7527, allocations: 1.169 MB / 0.5973 GB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.754, allocations: 264.5 kB / 0.5975 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.7546, allocations: 339.4 kB / 0.5979 GB, free: 27.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7546, allocations: 0 / 0.5979 GB, free: 27.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.8024, allocations: 13.32 MB / 0.6109 GB, free: 21.79 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.8028, allocations: 168.6 kB / 0.611 GB, free: 21.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/3.81, allocations: 3.938 kB / 0.611 GB, free: 21.55 MB / 410.7 MB