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.005358/0.005358, allocations: 163.8 kB / 15.11 MB, free: 5.973 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.175/1.175, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001617/0.001617, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.2848/0.2848, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003914, allocations: 12 kB / 362.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 48.7 MB / 411.6 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.374/0.4843, allocations: 89.86 MB / 0.4897 GB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4847, allocations: 74.41 kB / 0.4898 GB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7126/1.197, allocations: 196.3 MB / 0.6814 GB, free: 63.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.197, allocations: 0 / 0.6814 GB, free: 63.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004373/1.198, allocations: 161 kB / 0.6816 GB, free: 63.5 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.04543/1.243, allocations: 10.12 MB / 0.6915 GB, free: 56.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.243, allocations: 8.031 kB / 0.6915 GB, free: 56.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04704/1.29, allocations: 11.98 MB / 0.7032 GB, free: 44.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02762/1.318, allocations: 11.9 MB / 0.7148 GB, free: 32.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006804/1.319, allocations: 0.6245 MB / 0.7154 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006614/1.325, allocations: 0.8436 MB / 0.7163 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05685/1.382, allocations: 21.73 MB / 0.7375 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005387/1.383, allocations: 83.2 kB / 0.7376 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004791/1.388, allocations: 383.7 kB / 0.7379 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003796/1.391, allocations: 2.462 MB / 0.7403 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3011/1.693, allocations: 21.24 MB / 0.7611 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1244/1.817, allocations: 80.96 MB / 0.8401 GB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/1.835, allocations: 9.745 MB / 0.8496 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/1.836, allocations: 77.41 kB / 0.8497 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.836, allocations: 85.31 kB / 0.8498 GB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=583): time 1.125e-05/1.836, allocations: 3.938 kB / 0.8498 GB, free: 13.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=611): time 0.09569/1.932, allocations: 43.05 MB / 0.8918 GB, free: 2.848 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005383/1.937, allocations: 6.184 MB / 0.8979 GB, free: 12.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01631/1.953, allocations: 5.748 MB / 0.9035 GB, free: 7.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001794/1.955, allocations: 104.7 kB / 0.9036 GB, free: 7.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007372/1.963, allocations: 5.833 MB / 0.9093 GB, free: 2.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006535/1.969, allocations: 2.25 MB / 0.9115 GB, free: 176 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003128/1.972, allocations: 253.2 kB / 0.9117 GB, free: 0 / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3162/2.289, allocations: 0.8535 MB / 0.9126 GB, free: 88.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0145/2.303, allocations: 6.367 MB / 0.9188 GB, free: 87.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/2.32, allocations: 12.55 MB / 0.931 GB, free: 80.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/2.336, allocations: 8.946 MB / 0.9398 GB, free: 80.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002296/2.336, allocations: 66.81 kB / 0.9398 GB, free: 80.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.05011/2.386, allocations: 21.41 MB / 0.9607 GB, free: 78.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/2.387, allocations: 99.09 kB / 0.9608 GB, free: 78.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02747/2.414, allocations: 12.99 MB / 0.9735 GB, free: 74.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/2.427, allocations: 3.239 MB / 0.9767 GB, free: 73.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/2.439, allocations: 2.982 MB / 0.9796 GB, free: 73.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008636/2.448, allocations: 10.59 MB / 0.9899 GB, free: 64.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0151/2.463, allocations: 1.101 MB / 0.991 GB, free: 64.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004766/2.468, allocations: 0.6685 MB / 0.9917 GB, free: 64.56 MB / 458.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 () * Number of clocked 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.01678/2.484, allocations: 4.491 MB / 0.9961 GB, free: 62.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003347/2.488, allocations: 0.6543 MB / 0.9967 GB, free: 62.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03518/2.523, allocations: 14.65 MB / 1.011 GB, free: 57.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02868/2.552, allocations: 13.13 MB / 1.024 GB, free: 47.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.239e-05/2.552, allocations: 8 kB / 1.024 GB, free: 47.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001807/2.552, allocations: 25.31 kB / 1.024 GB, free: 47.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0754/2.627, allocations: 33.43 MB / 1.056 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.693e-05/2.628, allocations: 8 kB / 1.057 GB, free: 20.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006764/2.634, allocations: 1.136 MB / 1.058 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/2.646, allocations: 3.622 MB / 1.061 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002052/2.648, allocations: 146.4 kB / 1.061 GB, free: 17.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/2.661, allocations: 13.9 MB / 1.075 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3249/2.986, allocations: 5.947 MB / 1.081 GB, free: 71.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04264/3.028, allocations: 23.73 MB / 1.104 GB, free: 68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006904/3.035, allocations: 1.74 MB / 1.106 GB, free: 67.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002647/3.038, allocations: 125.2 kB / 1.106 GB, free: 67.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005415/3.044, allocations: 0.6012 MB / 1.106 GB, free: 67.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/3.045, allocations: 371.7 kB / 1.107 GB, free: 67.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000476/3.045, allocations: 157.6 kB / 1.107 GB, free: 67.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009392/3.055, allocations: 4.003 MB / 1.111 GB, free: 67.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.055, allocations: 0 / 1.111 GB, free: 67.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01391/3.068, allocations: 2.52 MB / 1.113 GB, free: 67.68 MB / 458.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 () * 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.001433/3.07, allocations: 307.9 kB / 1.113 GB, free: 67.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03321/3.103, allocations: 16.32 MB / 1.129 GB, free: 66.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/3.103, allocations: 0 / 1.129 GB, free: 66.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01508/3.118, allocations: 8.215 MB / 1.137 GB, free: 62.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007868/3.126, allocations: 0.8614 MB / 1.138 GB, free: 62.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0632/3.189, allocations: 30.63 MB / 1.168 GB, free: 47.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02298/3.213, allocations: 6.82 MB / 1.175 GB, free: 45.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01776/3.23, allocations: 4.805 MB / 1.179 GB, free: 45.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004498/3.235, allocations: 0.5093 MB / 1.18 GB, free: 44.86 MB / 458.7 MB Notification: Performance of SimCode: time 2.364e-06/3.235, allocations: 0 / 1.18 GB, free: 44.86 MB / 458.7 MB Notification: Performance of Templates: time 0.6657/3.901, allocations: 84.09 MB / 1.262 GB, free: 76.66 MB / 474.8 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)