Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002771/0.002775, allocations: 359.9 kB / 15.95 MB, free: 6.207 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 3.942/3.942, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003628/0.003627, allocations: 231.6 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.6128/0.6128, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004515, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5005/0.6134, allocations: 91.85 MB / 0.7698 GB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.6138, allocations: 83.7 kB / 0.7699 GB, free: 9.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.327/0.9408, allocations: 78.44 MB / 0.8465 GB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.9408, allocations: 0 / 0.8465 GB, free: 3.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001795/0.9426, allocations: 132 kB / 0.8466 GB, free: 2.938 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02544/0.9681, allocations: 7.973 MB / 0.8544 GB, free: 10.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9682, allocations: 8.031 kB / 0.8544 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005713/0.974, allocations: 1.13 MB / 0.8555 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.9882, allocations: 3.929 MB / 0.8593 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.9885, allocations: 193 kB / 0.8595 GB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.9901, allocations: 243.9 kB / 0.8597 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.009, allocations: 6.357 MB / 0.866 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/1.009, allocations: 11.88 kB / 0.866 GB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/1.01, allocations: 108 kB / 0.8661 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/1.012, allocations: 1.012 MB / 0.8671 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/1.025, allocations: 3.946 MB / 0.8709 GB, free: 9.625 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04565/1.071, allocations: 19.93 MB / 0.8904 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.074, allocations: 338.1 kB / 0.8907 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/1.074, allocations: 60.81 kB / 0.8907 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007924/1.082, allocations: 3.245 MB / 0.8939 GB, free: 1.395 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.867e-05/1.082, allocations: 121.9 kB / 0.894 GB, free: 1.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 3.426e-06/1.082, allocations: 0 / 0.894 GB, free: 1.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.002376/1.085, allocations: 0.8385 MB / 0.8949 GB, free: 420 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.085, allocations: 130.7 kB / 0.895 GB, free: 276 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4673/1.552, allocations: 10.48 MB / 0.9052 GB, free: 111.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.552, allocations: 26.98 kB / 0.9052 GB, free: 111 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008439/1.561, allocations: 5.82 MB / 0.9109 GB, free: 109.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.561, allocations: 89.42 kB / 0.911 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/1.561, allocations: 83.69 kB / 0.9111 GB, free: 109.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/1.561, allocations: 482.9 kB / 0.9115 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.563, allocations: 0.7437 MB / 0.9123 GB, free: 109.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/1.567, allocations: 3.964 MB / 0.9161 GB, free: 105.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/1.572, allocations: 1.609 MB / 0.9177 GB, free: 105.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002063/1.572, allocations: 33.44 kB / 0.9177 GB, free: 105.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01665/1.589, allocations: 4.87 MB / 0.9225 GB, free: 104.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.589, allocations: 52.72 kB / 0.9226 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.589, allocations: 118.9 kB / 0.9227 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/1.59, allocations: 171.5 kB / 0.9228 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005919/1.596, allocations: 0.9769 MB / 0.9238 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000252/1.596, allocations: 228.5 kB / 0.924 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007897/1.604, allocations: 0.6057 MB / 0.9246 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.605, allocations: 285.2 kB / 0.9249 GB, free: 104.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 534 * Number of states: 0 () * Number of discrete variables: 27 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 534 * 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.01008/1.615, allocations: 3.395 MB / 0.9282 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.617, allocations: 0.9087 MB / 0.9291 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/1.62, allocations: 1.018 MB / 0.9301 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.621, allocations: 179.5 kB / 0.9302 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-05/1.621, allocations: 183.6 kB / 0.9304 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/1.621, allocations: 186.3 kB / 0.9306 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.636, allocations: 5.125 MB / 0.9356 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.636, allocations: 104.9 kB / 0.9357 GB, free: 99.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/1.636, allocations: 104.2 kB / 0.9358 GB, free: 99.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-05/1.636, allocations: 184.2 kB / 0.936 GB, free: 99.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/1.636, allocations: 179.6 kB / 0.9361 GB, free: 99.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.986e-05/1.636, allocations: 183.5 kB / 0.9363 GB, free: 99.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-05/1.636, allocations: 180.3 kB / 0.9365 GB, free: 99.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/1.638, allocations: 1.162 MB / 0.9376 GB, free: 98.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.64, allocations: 0.9019 MB / 0.9385 GB, free: 97.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/1.641, allocations: 184.1 kB / 0.9387 GB, free: 97.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/1.643, allocations: 101 kB / 0.9388 GB, free: 97.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/1.644, allocations: 183.2 kB / 0.9389 GB, free: 97.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/1.644, allocations: 108.4 kB / 0.9391 GB, free: 96.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01887/1.662, allocations: 7.093 MB / 0.946 GB, free: 94.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.663, allocations: 0 / 0.946 GB, free: 94.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005546/1.668, allocations: 1.126 MB / 0.9471 GB, free: 94.55 MB / 474.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.0001701/1.668, allocations: 176.7 kB / 0.9472 GB, free: 94.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003899/1.672, allocations: 1.838 MB / 0.949 GB, free: 93.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.672, allocations: 6.531 kB / 0.949 GB, free: 93.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/1.672, allocations: 0 / 0.949 GB, free: 93.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02119/1.693, allocations: 3.294 MB / 0.9523 GB, free: 92.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04502/1.739, allocations: 17.9 MB / 0.9697 GB, free: 84.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/1.752, allocations: 5.446 MB / 0.9751 GB, free: 80.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0135/1.766, allocations: 2.106 MB / 0.9771 GB, free: 79.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.767, allocations: 403.4 kB / 0.9775 GB, free: 79.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/1.767, allocations: 0 / 0.9775 GB, free: 79.07 MB / 474.7 MB Notification: Performance of Templates: time 0.2631/2.03, allocations: 84.52 MB / 1.06 GB, free: 3.438 MB / 474.7 MB