Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_Shapes",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.01016/0.01016, allocations: 175.8 kB / 15.12 MB, free: 6 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.891/1.891, allocations: 194.5 MB / 210.3 MB, free: 11.37 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.002066, allocations: 116.6 kB / 255.6 MB, free: 14.51 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.4386/0.4386, allocations: 40.01 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004949, allocations: 11.94 kB / 406.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3395, allocations: 54.87 MB / 461.1 MB, free: 24.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4887, allocations: 85.51 MB / 0.5338 GB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4891, allocations: 75.97 kB / 0.5339 GB, free: 5.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4079/0.897, allocations: 26.69 MB / 0.56 GB, free: 85.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.897, allocations: 0 / 0.56 GB, free: 85.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.114e-05/0.8971, allocations: 33.56 kB / 0.56 GB, free: 85.27 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.005132/0.9023, allocations: 1.639 MB / 0.5616 GB, free: 84.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.9024, allocations: 9.406 kB / 0.5616 GB, free: 84.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/0.9035, allocations: 354.3 kB / 0.562 GB, free: 84.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.905, allocations: 261.2 kB / 0.5622 GB, free: 84.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.9079, allocations: 0.8209 MB / 0.563 GB, free: 83.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.9082, allocations: 149.7 kB / 0.5632 GB, free: 83.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/0.9088, allocations: 183.9 kB / 0.5633 GB, free: 83.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.9161, allocations: 3.343 MB / 0.5666 GB, free: 82.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.195e-05/0.9162, allocations: 18.12 kB / 0.5666 GB, free: 82.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.9165, allocations: 97.22 kB / 0.5667 GB, free: 82.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006431/0.9172, allocations: 330.4 kB / 0.567 GB, free: 82.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/0.9224, allocations: 1.861 MB / 0.5688 GB, free: 82.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.9383, allocations: 15.12 MB / 0.5836 GB, free: 70.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.9384, allocations: 170.2 kB / 0.5838 GB, free: 70.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.9384, allocations: 83.22 kB / 0.5838 GB, free: 70.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.9385, allocations: 107.7 kB / 0.5839 GB, free: 69.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.514e-06/0.9385, allocations: 0 / 0.5839 GB, free: 69.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003193/0.9388, allocations: 149.2 kB / 0.5841 GB, free: 69.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9389, allocations: 126.7 kB / 0.5842 GB, free: 69.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.9413, allocations: 1.449 MB / 0.5856 GB, free: 69.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.9413, allocations: 29.7 kB / 0.5856 GB, free: 69.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.9421, allocations: 1.345 MB / 0.587 GB, free: 68.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.9422, allocations: 48 kB / 0.587 GB, free: 68.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.9423, allocations: 39.12 kB / 0.587 GB, free: 67.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9425, allocations: 435.6 kB / 0.5875 GB, free: 67.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.9432, allocations: 368.3 kB / 0.5878 GB, free: 67.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.9447, allocations: 1.893 MB / 0.5897 GB, free: 65.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.9461, allocations: 0.7637 MB / 0.5904 GB, free: 64.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-05/0.9462, allocations: 24.11 kB / 0.5904 GB, free: 64.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004118/0.9503, allocations: 2.066 MB / 0.5924 GB, free: 64.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.9504, allocations: 32.81 kB / 0.5925 GB, free: 64.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/0.9505, allocations: 54.94 kB / 0.5925 GB, free: 64.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.196e-05/0.9506, allocations: 81.34 kB / 0.5926 GB, free: 64.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.9527, allocations: 483 kB / 0.5931 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.13e-05/0.9528, allocations: 111.3 kB / 0.5932 GB, free: 63.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.9548, allocations: 319.3 kB / 0.5935 GB, free: 63.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.955, allocations: 137.6 kB / 0.5936 GB, free: 63.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * 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.001503/0.9565, allocations: 0.8557 MB / 0.5944 GB, free: 63.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.9568, allocations: 230.8 kB / 0.5947 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.957, allocations: 221.8 kB / 0.5949 GB, free: 62.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/0.9571, allocations: 190.5 kB / 0.5951 GB, free: 62.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-05/0.9571, allocations: 180.2 kB / 0.5952 GB, free: 62.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/0.9572, allocations: 180.3 kB / 0.5954 GB, free: 62.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.9594, allocations: 1.476 MB / 0.5968 GB, free: 61.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.9595, allocations: 101 kB / 0.5969 GB, free: 61.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.9595, allocations: 108.9 kB / 0.597 GB, free: 61.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.535e-05/0.9596, allocations: 184.2 kB / 0.5972 GB, free: 61.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.9596, allocations: 180.2 kB / 0.5974 GB, free: 60.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.215e-05/0.9597, allocations: 180.2 kB / 0.5976 GB, free: 60.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.049e-05/0.9597, allocations: 180.3 kB / 0.5977 GB, free: 60.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.96, allocations: 429.4 kB / 0.5981 GB, free: 60.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.9604, allocations: 298.8 kB / 0.5984 GB, free: 59.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.9607, allocations: 187.6 kB / 0.5986 GB, free: 59.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.9611, allocations: 109 kB / 0.5987 GB, free: 59.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.9612, allocations: 180.3 kB / 0.5989 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.9612, allocations: 108.8 kB / 0.599 GB, free: 59.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001821/0.9631, allocations: 0.9866 MB / 0.6 GB, free: 58.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9631, allocations: 0 / 0.6 GB, free: 58.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00222/0.9653, allocations: 430.2 kB / 0.6004 GB, free: 57.99 MB / 394.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 (0): * Single equations (assignments): 0 * 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.0005022/0.9658, allocations: 0.9361 MB / 0.6013 GB, free: 57.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.9677, allocations: 0.8871 MB / 0.6021 GB, free: 56.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9677, allocations: 0 / 0.6021 GB, free: 56.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.9678, allocations: 4 kB / 0.6021 GB, free: 56.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/0.9687, allocations: 0.6449 MB / 0.6028 GB, free: 55.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/0.9912, allocations: 47.91 MB / 0.6496 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.9928, allocations: 1.609 MB / 0.6511 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001976/0.9948, allocations: 479 kB / 0.6516 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000868/0.9957, allocations: 0.6633 MB / 0.6522 GB, free: 3.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9957, allocations: 0 / 0.6522 GB, free: 3.348 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06958/1.065, allocations: 21.96 MB / 0.6737 GB, free: 13.61 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/1.066, allocations: 169.3 kB / 0.6738 GB, free: 13.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/4.124, allocations: 0 / 0.6738 GB, free: 13.38 MB / 426.7 MB