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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004752/0.004757, allocations: 363.1 kB / 15.95 MB, free: 6.203 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 4.024/4.024, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003757/0.003756, allocations: 227.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5314/0.5314, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004521, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 54.87 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.579, allocations: 85.51 MB / 0.7636 GB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5793, allocations: 78.09 kB / 0.7637 GB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1053/0.6846, allocations: 26.65 MB / 0.7897 GB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6847, allocations: 0 / 0.7897 GB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.873e-05/0.6848, allocations: 36 kB / 0.7897 GB, free: 8.688 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.005225/0.69, allocations: 1.634 MB / 0.7913 GB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6901, allocations: 8.031 kB / 0.7913 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.692, allocations: 265.2 kB / 0.7916 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.6947, allocations: 0.8255 MB / 0.7924 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.6949, allocations: 139.5 kB / 0.7925 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007182/0.6956, allocations: 188.1 kB / 0.7927 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008592/0.7043, allocations: 3.367 MB / 0.796 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.371e-05/0.7044, allocations: 23.81 kB / 0.796 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/0.7047, allocations: 89.77 kB / 0.7961 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000643/0.7054, allocations: 330.1 kB / 0.7964 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005477/0.7109, allocations: 1.858 MB / 0.7982 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.731, allocations: 15.12 MB / 0.813 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.7311, allocations: 173.1 kB / 0.8132 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.7312, allocations: 84.14 kB / 0.8132 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.7313, allocations: 75.28 kB / 0.8133 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.7313, allocations: 113.8 kB / 0.8134 GB, free: 2.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.106e-06/0.7313, allocations: 0 / 0.8134 GB, free: 2.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.000391/0.7317, allocations: 144.2 kB / 0.8136 GB, free: 2.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.7318, allocations: 126.7 kB / 0.8137 GB, free: 2.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.7352, allocations: 1.615 MB / 0.8153 GB, free: 1.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.7353, allocations: 25.7 kB / 0.8153 GB, free: 1.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.7366, allocations: 1.356 MB / 0.8166 GB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.7367, allocations: 46.14 kB / 0.8166 GB, free: 60 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7368, allocations: 41.38 kB / 0.8167 GB, free: 52 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003525/0.7372, allocations: 443.3 kB / 0.8171 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.7381, allocations: 356.4 kB / 0.8174 GB, free: 15.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.7404, allocations: 1.902 MB / 0.8193 GB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.7424, allocations: 0.7686 MB / 0.8201 GB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.907e-05/0.7425, allocations: 16 kB / 0.8201 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005989/0.7485, allocations: 2.073 MB / 0.8221 GB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.7487, allocations: 32 kB / 0.8221 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.593e-05/0.7488, allocations: 56 kB / 0.8222 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.7489, allocations: 80 kB / 0.8223 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.7514, allocations: 479.1 kB / 0.8227 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.7516, allocations: 107.6 kB / 0.8228 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.7538, allocations: 320.5 kB / 0.8231 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.7542, allocations: 136.4 kB / 0.8232 GB, free: 9.082 MB / 410.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.00194/0.7562, allocations: 0.8614 MB / 0.8241 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.7565, allocations: 223.4 kB / 0.8243 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.7569, allocations: 220.3 kB / 0.8245 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-05/0.757, allocations: 188.1 kB / 0.8247 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-05/0.7571, allocations: 188.2 kB / 0.8249 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.536e-05/0.7572, allocations: 176.3 kB / 0.825 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.7601, allocations: 1.473 MB / 0.8265 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/0.7602, allocations: 105 kB / 0.8266 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.7602, allocations: 108.9 kB / 0.8267 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-05/0.7603, allocations: 176.4 kB / 0.8269 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/0.7604, allocations: 188.3 kB / 0.827 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.998e-05/0.7605, allocations: 184.2 kB / 0.8272 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.855e-05/0.7606, allocations: 176.3 kB / 0.8274 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.761, allocations: 433.1 kB / 0.8278 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/0.7615, allocations: 296.4 kB / 0.8281 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.7618, allocations: 184.2 kB / 0.8282 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.7623, allocations: 105 kB / 0.8283 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.7624, allocations: 184.2 kB / 0.8285 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.7624, allocations: 105 kB / 0.8286 GB, free: 3.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00244/0.7649, allocations: 0.9861 MB / 0.8296 GB, free: 2.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7649, allocations: 3.938 kB / 0.8296 GB, free: 2.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002476/0.7674, allocations: 426.2 kB / 0.83 GB, free: 1.934 MB / 410.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.0002384/0.7677, allocations: 178.5 kB / 0.8302 GB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.77, allocations: 0.8801 MB / 0.831 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.77, allocations: 4.125 kB / 0.831 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.7701, allocations: 0 / 0.831 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7714, allocations: 0.6447 MB / 0.8317 GB, free: 232 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.7793, allocations: 3.368 MB / 0.8349 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.7818, allocations: 1.614 MB / 0.8365 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002784/0.7846, allocations: 483 kB / 0.837 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.7851, allocations: 75.44 kB / 0.8371 GB, free: 10.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.074e-06/0.7851, allocations: 0 / 0.8371 GB, free: 10.62 MB / 426.7 MB Notification: Performance of Templates: time 0.0489/0.834, allocations: 7.859 MB / 0.8447 GB, free: 2.777 MB / 426.7 MB