Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies") translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001479/0.001479, allocations: 169.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.162/1.162, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1667/0.1667, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.44e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08258/0.08262, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4078, allocations: 89.77 MB / 495.5 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4081, allocations: 73.53 kB / 495.5 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6967/1.105, allocations: 196.5 MB / 0.6759 GB, free: 69.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.105, allocations: 0 / 0.6759 GB, free: 69.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004582/1.105, allocations: 169.2 kB / 0.676 GB, free: 69.28 MB / 426.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.03983/1.145, allocations: 9.563 MB / 0.6854 GB, free: 65.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.145, allocations: 10.16 kB / 0.6854 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04604/1.191, allocations: 11.99 MB / 0.6971 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/1.219, allocations: 11.85 MB / 0.7086 GB, free: 63.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007265/1.219, allocations: 0.63 MB / 0.7093 GB, free: 63.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005213/1.225, allocations: 0.8461 MB / 0.7101 GB, free: 63.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05047/1.275, allocations: 21.54 MB / 0.7311 GB, free: 42.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006532/1.276, allocations: 79.27 kB / 0.7312 GB, free: 42.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004717/1.281, allocations: 388.1 kB / 0.7316 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/1.284, allocations: 2.456 MB / 0.734 GB, free: 39.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03488/1.319, allocations: 20.89 MB / 0.7544 GB, free: 18.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3674/1.686, allocations: 80.95 MB / 0.8334 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.703, allocations: 9.682 MB / 0.8429 GB, free: 50.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008134/1.712, allocations: 6.368 MB / 0.8491 GB, free: 50.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/1.712, allocations: 71.34 kB / 0.8492 GB, free: 50.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/1.712, allocations: 84.03 kB / 0.8492 GB, free: 50.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=583): time 8.896e-06/1.712, allocations: 0 / 0.8492 GB, free: 50.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=611): time 0.06913/1.781, allocations: 34.88 MB / 0.8833 GB, free: 42.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003937/1.785, allocations: 6.133 MB / 0.8893 GB, free: 36.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009015/1.794, allocations: 5.653 MB / 0.8948 GB, free: 34.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001389/1.796, allocations: 109.3 kB / 0.8949 GB, free: 34.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003395/1.799, allocations: 5.841 MB / 0.9006 GB, free: 30.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002846/1.802, allocations: 2.248 MB / 0.9028 GB, free: 28.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009602/1.803, allocations: 238.5 kB / 0.903 GB, free: 28.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006807/1.804, allocations: 0.8458 MB / 0.9039 GB, free: 27.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008323/1.812, allocations: 6.242 MB / 0.91 GB, free: 25.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/1.825, allocations: 12.42 MB / 0.9221 GB, free: 15.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.837, allocations: 8.887 MB / 0.9308 GB, free: 10.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/1.837, allocations: 63.95 kB / 0.9308 GB, free: 10.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.0468/1.884, allocations: 21.22 MB / 0.9516 GB, free: 8.887 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/1.885, allocations: 103 kB / 0.9517 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.295/2.179, allocations: 13.08 MB / 0.9644 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/2.192, allocations: 3.232 MB / 0.9676 GB, free: 95.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/2.205, allocations: 2.989 MB / 0.9705 GB, free: 95.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/2.214, allocations: 10.48 MB / 0.9807 GB, free: 88.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/2.226, allocations: 1.108 MB / 0.9818 GB, free: 88.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002594/2.229, allocations: 0.671 MB / 0.9825 GB, free: 88.26 MB / 474.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1501): * Single equations (assignments): 1467 * 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 {1,1,1,1} * 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.003364/2.232, allocations: 0.9612 MB / 0.9834 GB, free: 88.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.234, allocations: 0.6509 MB / 0.984 GB, free: 88.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/2.261, allocations: 14.56 MB / 0.9983 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02474/2.286, allocations: 13.02 MB / 1.011 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-05/2.286, allocations: 10.28 kB / 1.011 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/2.286, allocations: 28.88 kB / 1.011 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07128/2.358, allocations: 33.33 MB / 1.044 GB, free: 78.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001206/2.358, allocations: 14.55 kB / 1.044 GB, free: 78.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007311/2.365, allocations: 1.137 MB / 1.045 GB, free: 78.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/2.378, allocations: 3.608 MB / 1.048 GB, free: 78.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/2.38, allocations: 147 kB / 1.048 GB, free: 77.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/2.391, allocations: 13.6 MB / 1.062 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003437/2.395, allocations: 5.891 MB / 1.067 GB, free: 62.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04148/2.436, allocations: 23.58 MB / 1.09 GB, free: 43.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007164/2.444, allocations: 1.734 MB / 1.092 GB, free: 41.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003525/2.447, allocations: 134.2 kB / 1.092 GB, free: 41.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006823/2.454, allocations: 0.59 MB / 1.093 GB, free: 41.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/2.456, allocations: 374.3 kB / 1.093 GB, free: 40.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00116/2.457, allocations: 168 kB / 1.093 GB, free: 40.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009263/2.466, allocations: 3.915 MB / 1.097 GB, free: 37.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.466, allocations: 0 / 1.097 GB, free: 37.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.015/2.481, allocations: 2.519 MB / 1.1 GB, free: 34.88 MB / 474.7 MB 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 () * 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.002054/2.484, allocations: 304.4 kB / 1.1 GB, free: 34.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02526/2.509, allocations: 16.13 MB / 1.116 GB, free: 20.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/2.509, allocations: 4 kB / 1.116 GB, free: 20.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01339/2.522, allocations: 8.132 MB / 1.124 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007318/2.53, allocations: 0.8745 MB / 1.124 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2967/2.826, allocations: 23.36 MB / 1.147 GB, free: 89.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01245/2.839, allocations: 6.819 MB / 1.154 GB, free: 88.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01397/2.853, allocations: 4.802 MB / 1.159 GB, free: 87.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/2.856, allocations: 0.509 MB / 1.159 GB, free: 87.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/2.856, allocations: 0 / 1.159 GB, free: 87.78 MB / 474.7 MB Notification: Performance of Templates: time 0.1405/2.997, allocations: 84.13 MB / 1.241 GB, free: 55.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)