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.001484/0.001484, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.292/1.292, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001621/0.001621, allocations: 95.47 kB / 218 MB, free: 8.348 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.163/0.163, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.892e-05, allocations: 6.422 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 48.71 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4836, allocations: 89.11 MB / 487.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4839, allocations: 73.28 kB / 487.9 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7292/1.213, allocations: 193.2 MB / 0.6651 GB, free: 68.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.213, allocations: 0 / 0.6651 GB, free: 68.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005304/1.214, allocations: 159.3 kB / 0.6653 GB, free: 68.07 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.04365/1.257, allocations: 9.566 MB / 0.6746 GB, free: 64.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.257, allocations: 11 kB / 0.6746 GB, free: 64.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04859/1.306, allocations: 11.99 MB / 0.6863 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03076/1.337, allocations: 11.85 MB / 0.6979 GB, free: 62.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008568/1.338, allocations: 268 kB / 0.6982 GB, free: 62.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007086/1.345, allocations: 0.5 MB / 0.6986 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03042/1.375, allocations: 15.16 MB / 0.7134 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05191/1.427, allocations: 20.04 MB / 0.733 GB, free: 41.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006564/1.428, allocations: 79.02 kB / 0.7331 GB, free: 41.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005651/1.434, allocations: 31.95 kB / 0.7331 GB, free: 41.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003703/1.437, allocations: 2.464 MB / 0.7355 GB, free: 39.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4535/1.891, allocations: 76.62 MB / 0.8104 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/1.904, allocations: 10.06 MB / 0.8202 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007792/1.912, allocations: 6.264 MB / 0.8263 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/1.912, allocations: 76.09 kB / 0.8264 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.502e-05/1.912, allocations: 89.47 kB / 0.8265 GB, free: 43.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=587): time 1.04e-05/1.912, allocations: 3.906 kB / 0.8265 GB, free: 43.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=615): time 0.07467/1.987, allocations: 35.16 MB / 0.8608 GB, free: 36.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.987, allocations: 256.7 kB / 0.861 GB, free: 35.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.998, allocations: 5.376 MB / 0.8663 GB, free: 33.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001617/1.999, allocations: 30.78 kB / 0.8663 GB, free: 33.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003958/2.003, allocations: 5.993 MB / 0.8722 GB, free: 29.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003368/2.007, allocations: 2.207 MB / 0.8743 GB, free: 27.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/2.007, allocations: 3.938 kB / 0.8743 GB, free: 27.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007323/2.008, allocations: 0.8727 MB / 0.8752 GB, free: 27.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007148/2.015, allocations: 6.13 MB / 0.8812 GB, free: 25.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/2.027, allocations: 12.76 MB / 0.8936 GB, free: 14.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.04, allocations: 8.928 MB / 0.9023 GB, free: 11.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002033/2.041, allocations: 69.5 kB / 0.9024 GB, free: 11.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.04106/2.082, allocations: 20.25 MB / 0.9222 GB, free: 12.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/2.082, allocations: 104.8 kB / 0.9223 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02917/2.111, allocations: 12.61 MB / 0.9346 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01282/2.124, allocations: 3.224 MB / 0.9377 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/2.138, allocations: 3.149 MB / 0.9408 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/2.148, allocations: 10.14 MB / 0.9507 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.161, allocations: 0.8892 MB / 0.9516 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004798/2.166, allocations: 0.7093 MB / 0.9523 GB, free: 1.453 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1056 * 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 (1589): * Single equations (assignments): 1555 * 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.007823/2.174, allocations: 0.6865 MB / 0.953 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002992/2.177, allocations: 0.644 MB / 0.9536 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.343/2.52, allocations: 14.36 MB / 0.9676 GB, free: 94.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02303/2.543, allocations: 12.73 MB / 0.98 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/2.543, allocations: 9.562 kB / 0.98 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000143/2.543, allocations: 26.06 kB / 0.9801 GB, free: 94.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06561/2.609, allocations: 31.75 MB / 1.011 GB, free: 91.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.131e-05/2.609, allocations: 10.66 kB / 1.011 GB, free: 91.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005717/2.615, allocations: 1.146 MB / 1.012 GB, free: 91.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/2.627, allocations: 3.552 MB / 1.016 GB, free: 90.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001597/2.628, allocations: 76.3 kB / 1.016 GB, free: 90.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/2.641, allocations: 13.36 MB / 1.029 GB, free: 81.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003311/2.644, allocations: 5.646 MB / 1.034 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03918/2.683, allocations: 23.35 MB / 1.057 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00568/2.689, allocations: 1.718 MB / 1.059 GB, free: 66.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/2.691, allocations: 52.41 kB / 1.059 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006516/2.698, allocations: 0.5229 MB / 1.059 GB, free: 65.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001855/2.7, allocations: 376.4 kB / 1.06 GB, free: 65.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008138/2.701, allocations: 165.7 kB / 1.06 GB, free: 65.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007361/2.708, allocations: 3.587 MB / 1.063 GB, free: 62.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.708, allocations: 0 / 1.063 GB, free: 62.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01415/2.722, allocations: 2.29 MB / 1.066 GB, free: 60.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (479): * Single equations (assignments): 453 * 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.001657/2.724, allocations: 229 kB / 1.066 GB, free: 60.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02547/2.749, allocations: 15.75 MB / 1.081 GB, free: 46.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/2.75, allocations: 4 kB / 1.081 GB, free: 46.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01264/2.762, allocations: 7.978 MB / 1.089 GB, free: 38.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/2.769, allocations: 0.6319 MB / 1.09 GB, free: 38.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04798/2.817, allocations: 23.17 MB / 1.112 GB, free: 18.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01383/2.831, allocations: 6.814 MB / 1.119 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.3441/3.175, allocations: 5.321 MB / 1.124 GB, free: 80.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003665/3.178, allocations: 0.5033 MB / 1.125 GB, free: 80.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/3.178, allocations: 0 / 1.125 GB, free: 80.25 MB / 474.7 MB Notification: Performance of Templates: time 0.1843/3.363, allocations: 76.15 MB / 1.199 GB, free: 72.54 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)