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.00273/0.00273, allocations: 363.8 kB / 15.96 MB, free: 6.199 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.101/4.101, allocations: 388.9 MB / 405.6 MB, free: 47.96 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005307/0.005307, allocations: 240.6 kB / 451 MB, free: 2.422 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7436/0.7436, allocations: 80.01 MB / 0.5627 GB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006427/0.0006429, allocations: 16 kB / 0.6265 GB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.124, allocations: 54.89 MB / 0.6801 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.3453/0.4693, allocations: 36.08 MB / 0.7154 GB, free: 63.29 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.4885, allocations: 7.275 MB / 0.7225 GB, free: 58.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007337/0.4959, allocations: 169.2 kB / 0.7226 GB, free: 58.4 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00619/0.5021, allocations: 1.876 MB / 0.7245 GB, free: 57.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02072/0.5229, allocations: 6.268 MB / 0.7306 GB, free: 55.28 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.5256, allocations: 279.2 kB / 0.7308 GB, free: 55.17 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0371/0.5627, allocations: 17.78 MB / 0.7482 GB, free: 48.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00803/0.5708, allocations: 3.882 MB / 0.752 GB, free: 46.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.5753, allocations: 1.851 MB / 0.7538 GB, free: 44.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/0.5807, allocations: 2.741 MB / 0.7565 GB, free: 41.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.5822, allocations: 232 kB / 0.7567 GB, free: 41.72 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.585, allocations: 0.5812 MB / 0.7573 GB, free: 41.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.5886, allocations: 2.559 MB / 0.7598 GB, free: 38.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.5908, allocations: 1.325 MB / 0.7611 GB, free: 37.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.6012, allocations: 8.139 MB / 0.769 GB, free: 29.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.6013, allocations: 0 / 0.769 GB, free: 29.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6013, allocations: 0 / 0.769 GB, free: 29.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003951/0.6017, allocations: 0 / 0.769 GB, free: 29.08 MB / 394.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.01506/0.6168, allocations: 5.932 MB / 0.7748 GB, free: 23.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6169, allocations: 8.031 kB / 0.7748 GB, free: 23.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03972/0.6566, allocations: 7.127 MB / 0.7818 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009067/0.6657, allocations: 3.199 MB / 0.7849 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.6661, allocations: 323.9 kB / 0.7852 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/0.6686, allocations: 415.7 kB / 0.7856 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/0.7124, allocations: 18.99 MB / 0.8041 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.7126, allocations: 31.69 kB / 0.8042 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002008/0.7146, allocations: 207.7 kB / 0.8044 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01392/0.7286, allocations: 4.742 MB / 0.809 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05385/0.7825, allocations: 17.58 MB / 0.8262 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4654/1.248, allocations: 61.16 MB / 0.8859 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/1.271, allocations: 8.408 MB / 0.8941 GB, free: 98.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006215/1.277, allocations: 2.573 MB / 0.8966 GB, free: 98.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03263/1.309, allocations: 11.87 MB / 0.9082 GB, free: 94.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/1.31, allocations: 58.19 kB / 0.9083 GB, free: 94.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 9.418e-06/1.31, allocations: 0 / 0.9083 GB, free: 94.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.03074/1.34, allocations: 7.488 MB / 0.9156 GB, free: 92.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.341, allocations: 100.5 kB / 0.9157 GB, free: 92.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.355, allocations: 5.619 MB / 0.9212 GB, free: 90.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.355, allocations: 68.36 kB / 0.9212 GB, free: 90.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004365/1.36, allocations: 5.052 MB / 0.9262 GB, free: 86.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.362, allocations: 1.204 MB / 0.9273 GB, free: 85.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009298/1.363, allocations: 181.2 kB / 0.9275 GB, free: 85.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008474/1.363, allocations: 0.7223 MB / 0.9282 GB, free: 84.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008466/1.372, allocations: 3.175 MB / 0.9313 GB, free: 83.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/1.384, allocations: 8.592 MB / 0.9397 GB, free: 75.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.396, allocations: 5.279 MB / 0.9449 GB, free: 73.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001828/1.396, allocations: 56.72 kB / 0.9449 GB, free: 73.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02864/1.424, allocations: 11.54 MB / 0.9562 GB, free: 69.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/1.425, allocations: 85.59 kB / 0.9563 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000312/1.425, allocations: 192.2 kB / 0.9565 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/1.425, allocations: 278.8 kB / 0.9567 GB, free: 69.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/1.438, allocations: 2.077 MB / 0.9588 GB, free: 68.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/1.438, allocations: 369.3 kB / 0.9591 GB, free: 67.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009463/1.448, allocations: 1.318 MB / 0.9604 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/1.449, allocations: 0.5531 MB / 0.9609 GB, free: 65.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * 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 (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.008484/1.458, allocations: 3.696 MB / 0.9645 GB, free: 62.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.459, allocations: 481.5 kB / 0.965 GB, free: 62.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/1.461, allocations: 0.6452 MB / 0.9656 GB, free: 61.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.461, allocations: 10.41 kB / 0.9656 GB, free: 61.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.461, allocations: 0 / 0.9656 GB, free: 61.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.462, allocations: 0.5704 MB / 0.9662 GB, free: 61.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.464, allocations: 39.42 kB / 0.9662 GB, free: 61.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.467, allocations: 115.8 kB / 0.9663 GB, free: 61.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005386/1.467, allocations: 133.7 kB / 0.9665 GB, free: 60.96 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009108/1.476, allocations: 4.076 MB / 0.9705 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008423/1.485, allocations: 4.315 MB / 0.9747 GB, free: 53.49 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00339/1.488, allocations: 1.789 MB / 0.9764 GB, free: 51.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00818/1.497, allocations: 3.446 MB / 0.9798 GB, free: 48.27 MB / 474.7 MB Notification: Performance of Backend: time 8.62e-07/1.497, allocations: 0 / 0.9798 GB, free: 48.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01599/1.513, allocations: 5.774 MB / 0.9854 GB, free: 42.56 MB / 474.7 MB Notification: Performance of SimCode: time 0.0364/1.549, allocations: 17.83 MB / 1.003 GB, free: 24.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1832/1.732, allocations: 56.09 MB / 1.058 GB, free: 1.254 MB / 0.4949 GB