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.01444/0.01444, allocations: 164 kB / 15.12 MB, free: 5.965 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.853/1.853, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002706/0.002706, allocations: 109.8 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.6342/0.6342, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007193/0.0007197, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1461, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.04109/0.1873, allocations: 18.13 MB / 429.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3414/0.5288, allocations: 3.626 MB / 433.5 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/0.5322, allocations: 75.38 kB / 433.5 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.5356, allocations: 0.8477 MB / 434.4 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009909/0.5456, allocations: 2.805 MB / 437.2 MB, free: 30.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.5466, allocations: 52.39 kB / 437.2 MB, free: 30.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.5481, allocations: 0.7704 MB / 438 MB, free: 30.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.5499, allocations: 0.7945 MB / 438.8 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.5504, allocations: 237.9 kB / 439 MB, free: 29.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.5511, allocations: 366.4 kB / 439.4 MB, free: 29.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.5513, allocations: 28.62 kB / 439.4 MB, free: 29.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.5516, allocations: 71.8 kB / 439.5 MB, free: 29.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.552, allocations: 330.7 kB / 439.8 MB, free: 29.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.5522, allocations: 189 kB / 440 MB, free: 29.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.5536, allocations: 0.952 MB / 440.9 MB, free: 29.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5537, allocations: 0.6562 kB / 440.9 MB, free: 29.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5537, allocations: 0 / 440.9 MB, free: 29.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.5537, allocations: 0 / 440.9 MB, free: 29.66 MB / 330.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.002364/0.5561, allocations: 1.035 MB / 442 MB, free: 28.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5562, allocations: 9.625 kB / 442 MB, free: 28.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.5564, allocations: 164.3 kB / 442.2 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.5576, allocations: 161 kB / 442.3 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.5585, allocations: 487.5 kB / 442.8 MB, free: 28.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.5586, allocations: 43.98 kB / 442.8 MB, free: 28.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5587, allocations: 59.47 kB / 442.9 MB, free: 28.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.5617, allocations: 1.731 MB / 444.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.5618, allocations: 3.938 kB / 444.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.5619, allocations: 30.23 kB / 444.7 MB, free: 28.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/0.5631, allocations: 404.5 kB / 445 MB, free: 28.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.5661, allocations: 1.185 MB / 446.2 MB, free: 28.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009348/0.5755, allocations: 6.508 MB / 452.7 MB, free: 24.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.5762, allocations: 178.5 kB / 452.9 MB, free: 24.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.5766, allocations: 103.9 kB / 453 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.5766, allocations: 6.906 kB / 453 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.5766, allocations: 35.12 kB / 453.1 MB, free: 24.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.316e-06/0.5767, allocations: 0 / 453.1 MB, free: 24.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001329/0.578, allocations: 384 kB / 453.4 MB, free: 24.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.578, allocations: 51.41 kB / 453.5 MB, free: 23.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.5795, allocations: 0.9407 MB / 454.4 MB, free: 23.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.5795, allocations: 30.98 kB / 454.5 MB, free: 23.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.58, allocations: 0.6722 MB / 455.1 MB, free: 23.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.5801, allocations: 54.34 kB / 455.2 MB, free: 23.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.5801, allocations: 19.94 kB / 455.2 MB, free: 23.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5803, allocations: 389.1 kB / 455.6 MB, free: 23.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.581, allocations: 262.9 kB / 455.8 MB, free: 23.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.582, allocations: 0.927 MB / 456.8 MB, free: 22.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/0.583, allocations: 468.2 kB / 457.2 MB, free: 22.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.583, allocations: 6.531 kB / 457.2 MB, free: 22.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002587/0.5856, allocations: 1.148 MB / 458.4 MB, free: 21.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.5857, allocations: 16.09 kB / 458.4 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.5857, allocations: 30.48 kB / 458.4 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-05/0.5858, allocations: 35.38 kB / 458.5 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.5871, allocations: 236.7 kB / 458.7 MB, free: 21.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.325e-05/0.5871, allocations: 51.66 kB / 458.7 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5882, allocations: 163.4 kB / 458.9 MB, free: 21.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.5883, allocations: 68.02 kB / 459 MB, free: 21.69 MB / 330.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.0008259/0.5892, allocations: 466.2 kB / 459.4 MB, free: 21.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5893, allocations: 75.67 kB / 459.5 MB, free: 21.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.5904, allocations: 326.2 kB / 459.8 MB, free: 21.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5904, allocations: 3.094 kB / 459.8 MB, free: 21.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5904, allocations: 4 kB / 459.8 MB, free: 21.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5904, allocations: 3.281 kB / 459.8 MB, free: 21.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5916, allocations: 0.7267 MB / 460.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5916, allocations: 3.125 kB / 460.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.592, allocations: 39.08 kB / 460.6 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.592, allocations: 6.984 kB / 460.6 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.592, allocations: 2 kB / 460.6 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.592, allocations: 0 / 460.6 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5921, allocations: 3.938 kB / 460.6 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.5929, allocations: 392.2 kB / 461 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.5932, allocations: 174.9 kB / 461.2 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.5934, allocations: 7.141 kB / 461.2 MB, free: 20.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.5939, allocations: 18.25 kB / 461.2 MB, free: 20.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.594, allocations: 15.89 kB / 461.2 MB, free: 20.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.594, allocations: 3.312 kB / 461.2 MB, free: 20.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.595, allocations: 0.6057 MB / 461.8 MB, free: 20.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5951, allocations: 0 / 461.8 MB, free: 20.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001288/0.5963, allocations: 215.5 kB / 462 MB, free: 20.79 MB / 330.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.001229/0.5976, allocations: 0.935 MB / 462.9 MB, free: 20.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.5992, allocations: 0.5895 MB / 463.5 MB, free: 20.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5993, allocations: 192 / 463.5 MB, free: 20.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.5997, allocations: 116.4 kB / 463.7 MB, free: 20 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.6005, allocations: 87.14 kB / 463.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6113, allocations: 5.275 MB / 469 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009852/0.6123, allocations: 1.16 MB / 470.2 MB, free: 16.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001299/0.6137, allocations: 277.5 kB / 470.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.6143, allocations: 340.9 kB / 470.8 MB, free: 16.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6143, allocations: 4.594 kB / 470.8 MB, free: 16.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.664, allocations: 13.34 MB / 484.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.6643, allocations: 173.6 kB / 484.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/3.846, allocations: 0 / 484.3 MB, free: 11.68 MB / 330.7 MB