Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.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.FlyingBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|BodyBox1.body.Q.1.|BodyBox1.body.Q.2.|BodyBox1.body.Q.3.|BodyBox1.body.Q.4.|BodyBox1.body.frame_a.r_0.1.|BodyBox1.body.frame_a.r_0.2.|BodyBox1.body.frame_a.r_0.3.|BodyBox1.body.w_a.1.|BodyBox1.body.w_a.2.|BodyBox1.body.w_a.3.|BodyBox1.v_0.1.|BodyBox1.v_0.2.|BodyBox1.v_0.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002868/0.002873, allocations: 360 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 4.066/4.066, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003523/0.003523, allocations: 220.1 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.5037/0.5037, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004823, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09832, allocations: 54.88 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.5817, allocations: 96.56 MB / 0.7744 GB, free: 5.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/0.5822, allocations: 79.22 kB / 0.7745 GB, free: 5.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226/1.809, allocations: 194.8 MB / 0.9647 GB, free: 91.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.809, allocations: 0 / 0.9647 GB, free: 91.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006915/1.809, allocations: 161 kB / 0.9648 GB, free: 91.88 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: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.06769/1.877, allocations: 10.12 MB / 0.9747 GB, free: 88.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.877, allocations: 7.812 kB / 0.9747 GB, free: 88.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08384/1.961, allocations: 10.33 MB / 0.9848 GB, free: 85.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03464/1.996, allocations: 10.47 MB / 0.995 GB, free: 75.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008086/1.997, allocations: 0.6196 MB / 0.9957 GB, free: 74.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005848/2.002, allocations: 0.8416 MB / 0.9965 GB, free: 74.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06451/2.067, allocations: 21.64 MB / 1.018 GB, free: 51.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000587/2.068, allocations: 71.38 kB / 1.018 GB, free: 51.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006923/2.075, allocations: 382.4 kB / 1.018 GB, free: 51.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008425/2.083, allocations: 2.465 MB / 1.02 GB, free: 48.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09001/2.173, allocations: 21.08 MB / 1.041 GB, free: 27.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5934/2.767, allocations: 80.82 MB / 1.12 GB, free: 56.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03189/2.799, allocations: 9.751 MB / 1.129 GB, free: 54.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01431/2.813, allocations: 6.427 MB / 1.136 GB, free: 54.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/2.814, allocations: 75.66 kB / 1.136 GB, free: 54.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.632e-05/2.814, allocations: 91.31 kB / 1.136 GB, free: 54.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=583): time 1.09e-05/2.814, allocations: 5.844 kB / 1.136 GB, free: 54.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=611): time 0.1409/2.955, allocations: 41.99 MB / 1.177 GB, free: 44.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004944/2.96, allocations: 6.134 MB / 1.183 GB, free: 38.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01617/2.976, allocations: 6.454 MB / 1.189 GB, free: 36.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001504/2.977, allocations: 112.4 kB / 1.189 GB, free: 36.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005483/2.983, allocations: 5.837 MB / 1.195 GB, free: 31.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003919/2.987, allocations: 2.247 MB / 1.197 GB, free: 30.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002356/2.989, allocations: 236.2 kB / 1.197 GB, free: 29.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001256/2.991, allocations: 0.849 MB / 1.198 GB, free: 29.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01603/3.007, allocations: 6.381 MB / 1.205 GB, free: 27.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02103/3.028, allocations: 12.61 MB / 1.217 GB, free: 17.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/3.048, allocations: 8.961 MB / 1.226 GB, free: 13.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002543/3.048, allocations: 64 kB / 1.226 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.09197/3.14, allocations: 21.93 MB / 1.247 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/3.141, allocations: 96 kB / 1.247 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06957/3.21, allocations: 13.32 MB / 1.26 GB, free: 72 kB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03266/3.243, allocations: 3.576 MB / 1.264 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02789/3.271, allocations: 2.92 MB / 1.267 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4306/3.702, allocations: 12.17 MB / 1.278 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0177/3.719, allocations: 1.102 MB / 1.279 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003856/3.723, allocations: 0.67 MB / 1.28 GB, free: 113.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1489): * Single equations (assignments): 1455 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01508/3.738, allocations: 4.498 MB / 1.285 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/3.741, allocations: 0.6568 MB / 1.285 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05428/3.795, allocations: 14.65 MB / 1.299 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04446/3.84, allocations: 13.13 MB / 1.312 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.173e-05/3.84, allocations: 4.375 kB / 1.312 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001397/3.84, allocations: 27.34 kB / 1.312 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09986/3.94, allocations: 33.43 MB / 1.345 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/3.94, allocations: 15.98 kB / 1.345 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/3.951, allocations: 1.134 MB / 1.346 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02362/3.975, allocations: 3.614 MB / 1.35 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001826/3.977, allocations: 146.8 kB / 1.35 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/3.997, allocations: 13.62 MB / 1.363 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004591/4.002, allocations: 5.894 MB / 1.369 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0633/4.065, allocations: 22.08 MB / 1.39 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/4.068, allocations: 0.6896 MB / 1.391 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003252/4.071, allocations: 129.1 kB / 1.391 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00958/4.081, allocations: 0.5965 MB / 1.392 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002324/4.083, allocations: 378 kB / 1.392 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001404/4.085, allocations: 158.9 kB / 1.392 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01105/4.096, allocations: 4.002 MB / 1.396 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.152e-06/4.096, allocations: 0 / 1.396 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01629/4.112, allocations: 2.54 MB / 1.399 GB, free: 67.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (475): * Single equations (assignments): 449 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/4.114, allocations: 308.9 kB / 1.399 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04016/4.155, allocations: 16.9 MB / 1.415 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/4.155, allocations: 4 kB / 1.415 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02134/4.176, allocations: 8.21 MB / 1.423 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.012/4.188, allocations: 0.9384 MB / 1.424 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06833/4.256, allocations: 30.76 MB / 1.454 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01819/4.275, allocations: 6.819 MB / 1.461 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02206/4.297, allocations: 4.796 MB / 1.466 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004805/4.302, allocations: 0.4993 MB / 1.466 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/4.302, allocations: 0 / 1.466 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of Templates: time 0.6267/4.928, allocations: 86.96 MB / 1.551 GB, free: 89.69 MB / 0.5105 GB