Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003987/0.003986, allocations: 351.3 kB / 15.94 MB, free: 6.215 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 3.922/3.922, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003634/0.003634, allocations: 226.1 kB / 397.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5182/0.5182, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006245, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09183, allocations: 48.7 MB / 0.6067 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.5703, allocations: 79.05 MB / 0.6839 GB, free: 33.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.5708, allocations: 71.97 kB / 0.684 GB, free: 33.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09824/0.669, allocations: 26.65 MB / 0.71 GB, free: 7.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6691, allocations: 0 / 0.71 GB, free: 7.219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.6692, allocations: 32 kB / 0.71 GB, free: 7.188 MB / 362.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.003613/0.6728, allocations: 1.643 MB / 0.7117 GB, free: 5.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6728, allocations: 16.03 kB / 0.7117 GB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.6742, allocations: 258.9 kB / 0.7119 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.6763, allocations: 0.8193 MB / 0.7127 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6765, allocations: 144.6 kB / 0.7129 GB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/0.6769, allocations: 188 kB / 0.713 GB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006143/0.683, allocations: 3.37 MB / 0.7163 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.6832, allocations: 19.81 kB / 0.7163 GB, free: 264 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.6835, allocations: 87.95 kB / 0.7164 GB, free: 176 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006129/0.6841, allocations: 328.1 kB / 0.7167 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/0.6894, allocations: 1.862 MB / 0.7186 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.7106, allocations: 15.12 MB / 0.7333 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7108, allocations: 173.1 kB / 0.7335 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.7108, allocations: 84.14 kB / 0.7336 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.7109, allocations: 75.28 kB / 0.7336 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.711, allocations: 109.8 kB / 0.7337 GB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.116e-06/0.711, allocations: 0 / 0.7337 GB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.000322/0.7113, allocations: 148.1 kB / 0.7339 GB, free: 13.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.7114, allocations: 130.7 kB / 0.734 GB, free: 13.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.7144, allocations: 1.614 MB / 0.7356 GB, free: 12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.7145, allocations: 25.7 kB / 0.7356 GB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.7159, allocations: 1.351 MB / 0.7369 GB, free: 10.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.716, allocations: 43.95 kB / 0.737 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.7161, allocations: 40 kB / 0.737 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/0.7164, allocations: 446.6 kB / 0.7374 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/0.7173, allocations: 359.7 kB / 0.7378 GB, free: 9.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.7195, allocations: 1.907 MB / 0.7396 GB, free: 7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.7212, allocations: 0.7646 MB / 0.7404 GB, free: 6.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-05/0.7213, allocations: 16 kB / 0.7404 GB, free: 6.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004875/0.7261, allocations: 2.068 MB / 0.7424 GB, free: 4.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.7262, allocations: 31.28 kB / 0.7425 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/0.7263, allocations: 56 kB / 0.7425 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.7265, allocations: 87.94 kB / 0.7426 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.7288, allocations: 483.1 kB / 0.743 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.7289, allocations: 108.2 kB / 0.7432 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.7308, allocations: 320.5 kB / 0.7435 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.7311, allocations: 136 kB / 0.7436 GB, free: 2.949 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.001706/0.7328, allocations: 0.8595 MB / 0.7444 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.7331, allocations: 219.5 kB / 0.7446 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.7334, allocations: 228.3 kB / 0.7449 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.7335, allocations: 180.2 kB / 0.745 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.806e-05/0.7336, allocations: 187.3 kB / 0.7452 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/0.7337, allocations: 184.2 kB / 0.7454 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.7362, allocations: 1.469 MB / 0.7468 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.7363, allocations: 105 kB / 0.7469 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.7364, allocations: 104.9 kB / 0.747 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.59e-05/0.7364, allocations: 184.4 kB / 0.7472 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.7365, allocations: 188.2 kB / 0.7474 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.06e-05/0.7366, allocations: 180.2 kB / 0.7475 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-05/0.7367, allocations: 176.3 kB / 0.7477 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.7371, allocations: 437.1 kB / 0.7481 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.7376, allocations: 296.4 kB / 0.7484 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.7378, allocations: 180.3 kB / 0.7486 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.7383, allocations: 105 kB / 0.7487 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.7384, allocations: 184.2 kB / 0.7489 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.7385, allocations: 105 kB / 0.749 GB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002151/0.7406, allocations: 0.9939 MB / 0.7499 GB, free: 12.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7407, allocations: 0 / 0.7499 GB, free: 12.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002342/0.743, allocations: 430.1 kB / 0.7503 GB, free: 11.8 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.0002323/0.7433, allocations: 170.5 kB / 0.7505 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.7453, allocations: 0.8914 MB / 0.7514 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7453, allocations: 0 / 0.7514 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.7454, allocations: 0 / 0.7514 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7466, allocations: 0.6403 MB / 0.752 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.754, allocations: 3.366 MB / 0.7553 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/0.7563, allocations: 1.614 MB / 0.7569 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002229/0.7585, allocations: 487 kB / 0.7573 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.7587, allocations: 71.44 kB / 0.7574 GB, free: 4.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7587, allocations: 4 kB / 0.7574 GB, free: 4.496 MB / 410.7 MB Notification: Performance of Templates: time 0.3517/1.11, allocations: 7.848 MB / 0.7651 GB, free: 109.4 MB / 410.7 MB