Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002828/0.002828, allocations: 361.6 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 4.223/4.223, 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.00607/0.00607, allocations: 225.8 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.5442/0.5442, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005057, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.5875, allocations: 90.09 MB / 0.7681 GB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5879, allocations: 83.61 kB / 0.7681 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9624/1.55, allocations: 137.4 MB / 0.9023 GB, free: 93.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.519e-06/1.55, allocations: 0 / 0.9023 GB, free: 93.28 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005169/1.551, allocations: 122.3 kB / 0.9024 GB, free: 93.27 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.03682/1.588, allocations: 6.113 MB / 0.9084 GB, free: 90.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.588, allocations: 11.31 kB / 0.9084 GB, free: 90.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06817/1.656, allocations: 6.54 MB / 0.9148 GB, free: 90.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02276/1.679, allocations: 4.269 MB / 0.919 GB, free: 89.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00122/1.68, allocations: 0.5087 MB / 0.9195 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006321/1.687, allocations: 0.6531 MB / 0.9201 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07392/1.761, allocations: 18.06 MB / 0.9377 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003937/1.761, allocations: 34.59 kB / 0.9378 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004824/1.766, allocations: 307.9 kB / 0.938 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004899/1.771, allocations: 2.156 MB / 0.9402 GB, free: 87.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04811/1.819, allocations: 17.34 MB / 0.9571 GB, free: 86.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.126/1.945, allocations: 61.61 MB / 1.017 GB, free: 42.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02297/1.968, allocations: 8.414 MB / 1.025 GB, free: 34.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006287/1.974, allocations: 2.572 MB / 1.028 GB, free: 32.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0332/2.008, allocations: 11.78 MB / 1.039 GB, free: 21.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/2.008, allocations: 70.7 kB / 1.04 GB, free: 21.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 1.016e-05/2.008, allocations: 0 / 1.04 GB, free: 21.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.03002/2.038, allocations: 7.493 MB / 1.047 GB, free: 14.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/2.038, allocations: 99.11 kB / 1.047 GB, free: 14.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/2.051, allocations: 5.58 MB / 1.052 GB, free: 9.145 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005885/2.051, allocations: 64.8 kB / 1.052 GB, free: 9.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004922/2.056, allocations: 5.075 MB / 1.057 GB, free: 4.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001866/2.058, allocations: 1.198 MB / 1.059 GB, free: 2.816 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/2.059, allocations: 179.4 kB / 1.059 GB, free: 2.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008353/2.06, allocations: 0.7146 MB / 1.059 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00845/2.069, allocations: 3.094 MB / 1.062 GB, free: 14.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01581/2.085, allocations: 8.465 MB / 1.071 GB, free: 3.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3984/2.483, allocations: 5.163 MB / 1.076 GB, free: 95.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/2.483, allocations: 52.22 kB / 1.076 GB, free: 95.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.04913/2.532, allocations: 11.32 MB / 1.087 GB, free: 94.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000267/2.533, allocations: 89.11 kB / 1.087 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000629/2.533, allocations: 193 kB / 1.087 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007414/2.534, allocations: 277.5 kB / 1.087 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02107/2.555, allocations: 2.066 MB / 1.089 GB, free: 94.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009205/2.556, allocations: 374.8 kB / 1.09 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/2.568, allocations: 1.293 MB / 1.091 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.57, allocations: 0.5396 MB / 1.092 GB, free: 94.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * 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.01028/2.581, allocations: 3.695 MB / 1.095 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.582, allocations: 481.2 kB / 1.096 GB, free: 93.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/2.585, allocations: 0.6508 MB / 1.096 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001767/2.585, allocations: 56.38 kB / 1.096 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/2.585, allocations: 0 / 1.096 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.181e-05/2.585, allocations: 12.42 kB / 1.096 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/2.622, allocations: 12.65 MB / 1.109 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-05/2.623, allocations: 15.94 kB / 1.109 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/2.626, allocations: 421.5 kB / 1.109 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.065e-05/2.626, allocations: 28.77 kB / 1.109 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/2.627, allocations: 64.36 kB / 1.109 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.109e-05/2.627, allocations: 34.56 kB / 1.109 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/2.627, allocations: 19.56 kB / 1.109 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008989/2.636, allocations: 4.615 MB / 1.114 GB, free: 91.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/2.638, allocations: 0.5845 MB / 1.114 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/2.639, allocations: 65.39 kB / 1.114 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/2.643, allocations: 126.6 kB / 1.115 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/2.644, allocations: 173.9 kB / 1.115 GB, free: 90.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003198/2.644, allocations: 102.6 kB / 1.115 GB, free: 90.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008174/2.652, allocations: 3.438 MB / 1.118 GB, free: 90.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.652, allocations: 0 / 1.118 GB, free: 90.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01097/2.663, allocations: 1.976 MB / 1.12 GB, free: 90.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.0009964/2.664, allocations: 208.8 kB / 1.12 GB, free: 90.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01543/2.68, allocations: 7.122 MB / 1.127 GB, free: 89.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/2.68, allocations: 2.812 kB / 1.127 GB, free: 89.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004484/2.684, allocations: 2.01 MB / 1.129 GB, free: 89.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/2.69, allocations: 0.5874 MB / 1.13 GB, free: 88.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04068/2.731, allocations: 18.45 MB / 1.148 GB, free: 79.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01376/2.745, allocations: 5.574 MB / 1.153 GB, free: 77.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01614/2.761, allocations: 3.552 MB / 1.157 GB, free: 77.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/2.763, allocations: 376.5 kB / 1.157 GB, free: 77.74 MB / 490.7 MB Notification: Performance of SimCode: time 2.515e-06/2.763, allocations: 0 / 1.157 GB, free: 77.74 MB / 490.7 MB Notification: Performance of Templates: time 0.1339/2.897, allocations: 43 MB / 1.199 GB, free: 48.62 MB / 490.7 MB