Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.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.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.1_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003936/0.003941, allocations: 348 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.953/3.953, 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.003574/0.003574, allocations: 218.1 kB / 397.9 MB, free: 4.977 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.5395/0.5395, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007369/0.0007372, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1078, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.5534, allocations: 83.51 MB / 0.6883 GB, free: 29.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.5539, allocations: 80.73 kB / 0.6884 GB, free: 29.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9427/1.497, allocations: 137.4 MB / 0.8225 GB, free: 82.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.497, allocations: 0 / 0.8225 GB, free: 82.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000268/1.497, allocations: 118.4 kB / 0.8226 GB, free: 82.41 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02239/1.519, allocations: 6.115 MB / 0.8286 GB, free: 78.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.519, allocations: 11.19 kB / 0.8286 GB, free: 78.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04752/1.567, allocations: 6.544 MB / 0.835 GB, free: 75.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/1.581, allocations: 4.27 MB / 0.8392 GB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006594/1.582, allocations: 0.5097 MB / 0.8397 GB, free: 70.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004903/1.587, allocations: 0.6467 MB / 0.8403 GB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.067/1.654, allocations: 18.05 MB / 0.8579 GB, free: 51.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000392/1.654, allocations: 35.69 kB / 0.858 GB, free: 51.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0051/1.66, allocations: 312.5 kB / 0.8583 GB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0058/1.665, allocations: 2.144 MB / 0.8604 GB, free: 48.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05405/1.72, allocations: 17.36 MB / 0.8773 GB, free: 31.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5017/2.221, allocations: 61.59 MB / 0.9375 GB, free: 56.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/2.246, allocations: 8.408 MB / 0.9457 GB, free: 54.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006532/2.253, allocations: 2.569 MB / 0.9482 GB, free: 54.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03445/2.287, allocations: 11.79 MB / 0.9597 GB, free: 51.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/2.287, allocations: 55.22 kB / 0.9598 GB, free: 51.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 8.206e-06/2.287, allocations: 0 / 0.9598 GB, free: 51.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03249/2.32, allocations: 7.489 MB / 0.9671 GB, free: 50.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/2.32, allocations: 105 kB / 0.9672 GB, free: 50.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0166/2.336, allocations: 5.569 MB / 0.9726 GB, free: 50.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006645/2.337, allocations: 66.48 kB / 0.9727 GB, free: 50.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004952/2.342, allocations: 5.083 MB / 0.9776 GB, free: 47.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00212/2.344, allocations: 1.199 MB / 0.9788 GB, free: 46.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/2.346, allocations: 175.4 kB / 0.979 GB, free: 46.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00123/2.347, allocations: 0.7172 MB / 0.9797 GB, free: 46.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00839/2.356, allocations: 3.086 MB / 0.9827 GB, free: 45.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/2.368, allocations: 8.47 MB / 0.991 GB, free: 37.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/2.38, allocations: 5.177 MB / 0.996 GB, free: 36.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002277/2.38, allocations: 57.36 kB / 0.9961 GB, free: 36.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03742/2.418, allocations: 11.33 MB / 1.007 GB, free: 32.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003817/2.418, allocations: 86.12 kB / 1.007 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006898/2.419, allocations: 189.4 kB / 1.007 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/2.42, allocations: 274.8 kB / 1.008 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0175/2.437, allocations: 2.067 MB / 1.01 GB, free: 32.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005469/2.438, allocations: 372.7 kB / 1.01 GB, free: 32.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01492/2.453, allocations: 1.297 MB / 1.011 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/2.456, allocations: 0.5401 MB / 1.012 GB, free: 31.19 MB / 426.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.01517/2.471, allocations: 3.69 MB / 1.015 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/2.473, allocations: 490.5 kB / 1.016 GB, free: 29.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/2.477, allocations: 0.655 MB / 1.017 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002222/2.477, allocations: 56.33 kB / 1.017 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/2.477, allocations: 3.75 kB / 1.017 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-05/2.477, allocations: 11.02 kB / 1.017 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/2.531, allocations: 12.65 MB / 1.029 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/2.531, allocations: 12 kB / 1.029 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005692/2.537, allocations: 418.1 kB / 1.029 GB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.29e-05/2.537, allocations: 28 kB / 1.029 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006873/2.538, allocations: 68.77 kB / 1.029 GB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.745e-05/2.538, allocations: 33.88 kB / 1.029 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-05/2.538, allocations: 19.94 kB / 1.03 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/2.552, allocations: 4.62 MB / 1.034 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/2.555, allocations: 0.585 MB / 1.035 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00247/2.557, allocations: 56.05 kB / 1.035 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005883/2.563, allocations: 129.8 kB / 1.035 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.565, allocations: 180 kB / 1.035 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006158/2.565, allocations: 101.4 kB / 1.035 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01342/2.579, allocations: 3.433 MB / 1.038 GB, free: 10.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.733e-06/2.579, allocations: 0 / 1.038 GB, free: 10.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.016/2.595, allocations: 1.987 MB / 1.04 GB, free: 8.531 MB / 426.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.001211/2.596, allocations: 194.6 kB / 1.041 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02221/2.618, allocations: 7.112 MB / 1.047 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.182e-05/2.618, allocations: 0 / 1.047 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00579/2.624, allocations: 1.998 MB / 1.049 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01187/2.636, allocations: 0.6829 MB / 1.05 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05756/2.694, allocations: 18.6 MB / 1.068 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01829/2.712, allocations: 5.561 MB / 1.074 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0171/2.729, allocations: 3.553 MB / 1.077 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/2.732, allocations: 366.8 kB / 1.077 GB, free: 8.406 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/2.732, allocations: 4 kB / 1.077 GB, free: 8.402 MB / 458.7 MB Notification: Performance of Templates: time 0.5398/3.272, allocations: 43.01 MB / 1.119 GB, free: 123.1 MB / 474.7 MB