Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002664/0.002668, allocations: 350.6 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.661/3.661, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.006968/0.006968, allocations: 226.1 kB / 397.9 MB, free: 4.965 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.4976/0.4976, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08834, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.568, allocations: 88.29 MB / 0.6929 GB, free: 24.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5683, allocations: 80.75 kB / 0.693 GB, free: 24.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2787/0.8471, allocations: 57.55 MB / 0.7492 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8471, allocations: 4 kB / 0.7492 GB, free: 14.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.8473, allocations: 51.92 kB / 0.7493 GB, free: 14.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01103/0.8583, allocations: 2.661 MB / 0.7519 GB, free: 12.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.8584, allocations: 12.03 kB / 0.7519 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.8745, allocations: 1.95 MB / 0.7538 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/0.882, allocations: 2.254 MB / 0.756 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.8823, allocations: 180.8 kB / 0.7562 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.8838, allocations: 239.8 kB / 0.7564 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3781/1.262, allocations: 6.87 MB / 0.7631 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/1.262, allocations: 42.47 kB / 0.7631 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/1.264, allocations: 123.7 kB / 0.7633 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/1.266, allocations: 0.7177 MB / 0.764 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/1.285, allocations: 5.856 MB / 0.7697 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/1.334, allocations: 33.49 MB / 0.8024 GB, free: 68.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/1.341, allocations: 2.099 MB / 0.8044 GB, free: 68.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/1.343, allocations: 1.027 MB / 0.8054 GB, free: 68.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.343, allocations: 14.84 kB / 0.8055 GB, free: 68.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.343, allocations: 44.42 kB / 0.8055 GB, free: 67.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.959e-06/1.343, allocations: 0 / 0.8055 GB, free: 67.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.02763/1.371, allocations: 6.309 MB / 0.8117 GB, free: 65.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/1.371, allocations: 144.4 kB / 0.8118 GB, free: 65.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/1.377, allocations: 2.897 MB / 0.8146 GB, free: 64.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003081/1.377, allocations: 41.58 kB / 0.8147 GB, free: 64.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/1.379, allocations: 2.099 MB / 0.8167 GB, free: 62.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006278/1.38, allocations: 456.7 kB / 0.8171 GB, free: 62.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/1.38, allocations: 89.59 kB / 0.8172 GB, free: 62.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002629/1.38, allocations: 0.4927 MB / 0.8177 GB, free: 62.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/1.384, allocations: 1.413 MB / 0.8191 GB, free: 61.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.389, allocations: 4.259 MB / 0.8233 GB, free: 57.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/1.394, allocations: 2.394 MB / 0.8256 GB, free: 56.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.282e-05/1.394, allocations: 27.56 kB / 0.8256 GB, free: 56.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01464/1.409, allocations: 5.458 MB / 0.8309 GB, free: 54.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/1.409, allocations: 49.59 kB / 0.831 GB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.409, allocations: 106 kB / 0.8311 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/1.409, allocations: 147.8 kB / 0.8312 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006665/1.416, allocations: 1.081 MB / 0.8323 GB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002144/1.416, allocations: 202 kB / 0.8325 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.422, allocations: 284.7 kB / 0.8328 GB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.423, allocations: 286.5 kB / 0.833 GB, free: 54.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 3 * 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.004282/1.427, allocations: 1.379 MB / 0.8344 GB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007155/1.428, allocations: 241.4 kB / 0.8346 GB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/1.431, allocations: 1.246 MB / 0.8358 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-05/1.431, allocations: 14.12 kB / 0.8358 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.431, allocations: 0 / 0.8358 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.431, allocations: 10.14 kB / 0.8358 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.442, allocations: 3.998 MB / 0.8398 GB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.442, allocations: 7.938 kB / 0.8398 GB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/1.444, allocations: 213.3 kB / 0.84 GB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.444, allocations: 3.625 kB / 0.84 GB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.444, allocations: 27.38 kB / 0.84 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.444, allocations: 3.875 kB / 0.84 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.444, allocations: 0 / 0.84 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/1.449, allocations: 2.019 MB / 0.842 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.45, allocations: 456.6 kB / 0.8424 GB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007683/1.451, allocations: 22.81 kB / 0.8424 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.454, allocations: 74.84 kB / 0.8425 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.454, allocations: 52.66 kB / 0.8425 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.454, allocations: 35 kB / 0.8426 GB, free: 50 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004853/1.459, allocations: 1.815 MB / 0.8444 GB, free: 49.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.459, allocations: 0 / 0.8444 GB, free: 49.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005006/1.464, allocations: 0.6426 MB / 0.845 GB, free: 49.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.0006115/1.465, allocations: 171.7 kB / 0.8451 GB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007736/1.473, allocations: 3.227 MB / 0.8483 GB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.473, allocations: 4 kB / 0.8483 GB, free: 48.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.475, allocations: 0.7787 MB / 0.8491 GB, free: 47.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.477, allocations: 248.7 kB / 0.8493 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.492, allocations: 6.372 MB / 0.8555 GB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003991/1.496, allocations: 2.255 MB / 0.8577 GB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006492/1.502, allocations: 1.47 MB / 0.8592 GB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.503, allocations: 174.2 kB / 0.8593 GB, free: 39.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/1.503, allocations: 0 / 0.8593 GB, free: 39.05 MB / 410.7 MB Notification: Performance of Templates: time 0.07229/1.576, allocations: 19.75 MB / 0.8786 GB, free: 23.16 MB / 410.7 MB