Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.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.2_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002733/0.002733, allocations: 362.6 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 3.98/3.98, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003499/0.003499, allocations: 227 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.6419/0.6419, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5332/0.6458, allocations: 95.13 MB / 0.773 GB, free: 6.449 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.6461, allocations: 73.28 kB / 0.773 GB, free: 6.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2817/0.9278, allocations: 57.56 MB / 0.8292 GB, free: 4.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.42e-06/0.9278, allocations: 4 kB / 0.8292 GB, free: 4.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001576/0.928, allocations: 43.94 kB / 0.8293 GB, free: 3.992 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.01195/0.94, allocations: 2.67 MB / 0.8319 GB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.94, allocations: 9.359 kB / 0.8319 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.956, allocations: 1.95 MB / 0.8338 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/0.9636, allocations: 2.247 MB / 0.836 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.9639, allocations: 188.7 kB / 0.8362 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.9655, allocations: 239.8 kB / 0.8364 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.9861, allocations: 6.879 MB / 0.8431 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/0.9863, allocations: 47.61 kB / 0.8432 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001107/0.9874, allocations: 127.9 kB / 0.8433 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/0.9893, allocations: 0.7072 MB / 0.844 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/1.008, allocations: 5.864 MB / 0.8497 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05642/1.064, allocations: 33.56 MB / 0.8825 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007213/1.072, allocations: 2.09 MB / 0.8845 GB, free: 9.703 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/1.074, allocations: 1.027 MB / 0.8855 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/1.075, allocations: 186.4 kB / 0.8857 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.075, allocations: 46.89 kB / 0.8858 GB, free: 8.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 5.04e-06/1.075, allocations: 0 / 0.8858 GB, free: 8.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.03475/1.11, allocations: 6.31 MB / 0.8919 GB, free: 2.051 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.11, allocations: 140.9 kB / 0.8921 GB, free: 1.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3421/1.452, allocations: 2.897 MB / 0.8949 GB, free: 129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/1.452, allocations: 40.2 kB / 0.8949 GB, free: 129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.455, allocations: 2.098 MB / 0.897 GB, free: 128.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008483/1.456, allocations: 462.1 kB / 0.8974 GB, free: 128.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/1.456, allocations: 86.08 kB / 0.8975 GB, free: 128.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003653/1.456, allocations: 0.4915 MB / 0.898 GB, free: 127.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.46, allocations: 1.409 MB / 0.8993 GB, free: 127.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006686/1.467, allocations: 4.252 MB / 0.9035 GB, free: 124.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/1.474, allocations: 2.392 MB / 0.9058 GB, free: 124 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/1.474, allocations: 28.72 kB / 0.9059 GB, free: 124 MB / 474.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01735/1.491, allocations: 5.452 MB / 0.9112 GB, free: 123.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.491, allocations: 47.84 kB / 0.9112 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/1.492, allocations: 106 kB / 0.9113 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/1.492, allocations: 146.3 kB / 0.9115 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/1.499, allocations: 1.08 MB / 0.9125 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000252/1.499, allocations: 197.2 kB / 0.9127 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.505, allocations: 286.9 kB / 0.913 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.506, allocations: 280.5 kB / 0.9133 GB, free: 123.4 MB / 474.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.003996/1.51, allocations: 1.382 MB / 0.9146 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/1.511, allocations: 236.2 kB / 0.9148 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/1.513, allocations: 1.221 MB / 0.916 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/1.514, allocations: 14.91 kB / 0.916 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.514, allocations: 1.875 kB / 0.916 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.514, allocations: 7.219 kB / 0.916 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.525, allocations: 4.408 MB / 0.9203 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.525, allocations: 7.344 kB / 0.9204 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.527, allocations: 218.8 kB / 0.9206 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/1.527, allocations: 7.656 kB / 0.9206 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.527, allocations: 24.98 kB / 0.9206 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/1.527, allocations: 10.47 kB / 0.9206 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/1.527, allocations: 7.156 kB / 0.9206 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/1.531, allocations: 2.132 MB / 0.9227 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.532, allocations: 468.4 kB / 0.9231 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.533, allocations: 23.8 kB / 0.9232 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.534, allocations: 73.44 kB / 0.9232 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/1.534, allocations: 66.86 kB / 0.9233 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.535, allocations: 44.81 kB / 0.9233 GB, free: 120.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004241/1.539, allocations: 1.83 MB / 0.9251 GB, free: 120.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.913e-06/1.539, allocations: 0 / 0.9251 GB, free: 120.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005113/1.544, allocations: 0.6315 MB / 0.9257 GB, free: 120.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.0005242/1.545, allocations: 161.5 kB / 0.9259 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007611/1.552, allocations: 3.227 MB / 0.929 GB, free: 119 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.552, allocations: 0 / 0.929 GB, free: 119 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.554, allocations: 0.7745 MB / 0.9298 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.557, allocations: 265.9 kB / 0.9301 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.572, allocations: 6.573 MB / 0.9365 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004392/1.577, allocations: 2.266 MB / 0.9387 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007769/1.584, allocations: 1.456 MB / 0.9401 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.586, allocations: 170.6 kB / 0.9403 GB, free: 114.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/1.586, allocations: 3.938 kB / 0.9403 GB, free: 114.1 MB / 474.7 MB Notification: Performance of Templates: time 0.0764/1.662, allocations: 20.59 MB / 0.9604 GB, free: 109.9 MB / 474.7 MB