Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies") translateModel(ModelicaTest.MultiBody.Parts.FlyingBodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001373/0.001372, allocations: 182.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.459/1.459, allocations: 194.3 MB / 207.5 MB, free: 3.395 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001627/0.001627, allocations: 109.1 kB / 252.6 MB, free: 4.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.197/0.197, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.655e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09827, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4749, allocations: 96.48 MB / 0.5387 GB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.4753, allocations: 69.91 kB / 0.5388 GB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.721/1.196, allocations: 196.7 MB / 0.7308 GB, free: 90.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.973e-06/1.196, allocations: 4.125 kB / 0.7308 GB, free: 90.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000442/1.197, allocations: 164.6 kB / 0.731 GB, free: 90.84 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.03974/1.237, allocations: 9.569 MB / 0.7403 GB, free: 87.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.237, allocations: 7.344 kB / 0.7403 GB, free: 87.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/1.286, allocations: 12.05 MB / 0.7521 GB, free: 86.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03247/1.319, allocations: 11.9 MB / 0.7637 GB, free: 78.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009122/1.32, allocations: 0.6223 MB / 0.7643 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006767/1.326, allocations: 0.84 MB / 0.7652 GB, free: 76.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05621/1.383, allocations: 21.54 MB / 0.7862 GB, free: 54.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004847/1.383, allocations: 79.3 kB / 0.7863 GB, free: 54.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004562/1.388, allocations: 386.4 kB / 0.7866 GB, free: 53.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/1.392, allocations: 2.464 MB / 0.789 GB, free: 51.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04318/1.435, allocations: 20.88 MB / 0.8094 GB, free: 30.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4886/1.924, allocations: 80.96 MB / 0.8885 GB, free: 55.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/1.945, allocations: 9.689 MB / 0.898 GB, free: 53.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009837/1.955, allocations: 6.36 MB / 0.9042 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/1.956, allocations: 76.28 kB / 0.9042 GB, free: 53.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.984e-05/1.956, allocations: 91.22 kB / 0.9043 GB, free: 53.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=583): time 1.008e-05/1.956, allocations: 0 / 0.9043 GB, free: 53.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=611): time 0.07479/2.031, allocations: 34.88 MB / 0.9384 GB, free: 47.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003352/2.034, allocations: 6.129 MB / 0.9444 GB, free: 41.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/2.049, allocations: 5.654 MB / 0.9499 GB, free: 39.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001615/2.05, allocations: 106.5 kB / 0.95 GB, free: 39.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005353/2.056, allocations: 5.841 MB / 0.9557 GB, free: 35.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003633/2.06, allocations: 2.246 MB / 0.9579 GB, free: 33.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/2.061, allocations: 235.6 kB / 0.9581 GB, free: 33.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008447/2.062, allocations: 0.849 MB / 0.9589 GB, free: 32.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009681/2.072, allocations: 6.254 MB / 0.965 GB, free: 30.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01536/2.087, allocations: 12.44 MB / 0.9772 GB, free: 20.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/2.101, allocations: 8.91 MB / 0.9859 GB, free: 18.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003015/2.101, allocations: 57.94 kB / 0.986 GB, free: 18.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.05193/2.153, allocations: 21.56 MB / 1.007 GB, free: 2.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.154, allocations: 96 kB / 1.007 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02952/2.183, allocations: 13.28 MB / 1.02 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01395/2.197, allocations: 3.576 MB / 1.024 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/2.209, allocations: 2.919 MB / 1.026 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/2.222, allocations: 12.16 MB / 1.038 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/2.236, allocations: 1.11 MB / 1.039 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003642/2.24, allocations: 0.6675 MB / 1.04 GB, free: 5.273 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 () * 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.005155/2.245, allocations: 0.9599 MB / 1.041 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/2.247, allocations: 0.6517 MB / 1.042 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.404/2.651, allocations: 14.91 MB / 1.056 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0298/2.681, allocations: 13.03 MB / 1.069 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.059e-05/2.681, allocations: 10.19 kB / 1.069 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/2.681, allocations: 24.69 kB / 1.069 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06859/2.75, allocations: 33.35 MB / 1.101 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.169e-05/2.75, allocations: 10.88 kB / 1.102 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/2.756, allocations: 1.137 MB / 1.103 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/2.768, allocations: 3.605 MB / 1.106 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001749/2.77, allocations: 150.2 kB / 1.106 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/2.783, allocations: 13.6 MB / 1.12 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003175/2.786, allocations: 5.898 MB / 1.125 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04488/2.831, allocations: 23.57 MB / 1.148 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/2.834, allocations: 0.6898 MB / 1.149 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003579/2.838, allocations: 129.6 kB / 1.149 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007464/2.845, allocations: 0.5968 MB / 1.15 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002299/2.848, allocations: 379.8 kB / 1.15 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001574/2.849, allocations: 160.4 kB / 1.15 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01003/2.859, allocations: 3.91 MB / 1.154 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.51e-07/2.859, allocations: 0 / 1.154 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0172/2.876, allocations: 2.539 MB / 1.157 GB, free: 77.01 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 () * 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.00257/2.879, allocations: 305.5 kB / 1.157 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02777/2.907, allocations: 16.69 MB / 1.173 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/2.907, allocations: 0 / 1.173 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/2.921, allocations: 8.147 MB / 1.181 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006744/2.928, allocations: 0.8716 MB / 1.182 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0507/2.979, allocations: 23.36 MB / 1.205 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01473/2.994, allocations: 6.817 MB / 1.211 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01512/3.009, allocations: 4.795 MB / 1.216 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003583/3.012, allocations: 0.503 MB / 1.217 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.482e-06/3.012, allocations: 0 / 1.217 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.5331/3.546, allocations: 86.84 MB / 1.301 GB, free: 95.38 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FlyingBodies.pipe 2>&1)