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.001094/0.001094, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.424/1.424, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001675/0.001675, allocations: 93.23 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1718/0.1718, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.534e-05, allocations: 0 / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.5803, allocations: 95.81 MB / 0.5312 GB, free: 31.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5806, allocations: 73.73 kB / 0.5313 GB, free: 31.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7269/1.307, allocations: 193.3 MB / 0.7201 GB, free: 76 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.308, allocations: 0 / 0.7201 GB, free: 76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005097/1.308, allocations: 154.2 kB / 0.7203 GB, free: 76 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.04291/1.351, allocations: 9.562 MB / 0.7296 GB, free: 72.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.351, allocations: 7.625 kB / 0.7296 GB, free: 72.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04719/1.398, allocations: 12.05 MB / 0.7414 GB, free: 72.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/1.427, allocations: 11.89 MB / 0.753 GB, free: 71.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000801/1.428, allocations: 268.8 kB / 0.7532 GB, free: 71.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006859/1.435, allocations: 0.4927 MB / 0.7537 GB, free: 71.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02959/1.464, allocations: 15.16 MB / 0.7685 GB, free: 71.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04452/1.509, allocations: 20.04 MB / 0.7881 GB, free: 68.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/1.509, allocations: 77.64 kB / 0.7882 GB, free: 68.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002707/1.512, allocations: 31.03 kB / 0.7882 GB, free: 68.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/1.515, allocations: 2.464 MB / 0.7906 GB, free: 68.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.622, allocations: 76.63 MB / 0.8655 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/1.638, allocations: 10.43 MB / 0.8756 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009074/1.647, allocations: 6.252 MB / 0.8817 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/1.647, allocations: 77.58 kB / 0.8818 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/1.648, allocations: 91.59 kB / 0.8819 GB, free: 6.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=587): time 9.418e-06/1.648, allocations: 4 kB / 0.8819 GB, free: 6.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=615): time 0.3352/1.983, allocations: 35.23 MB / 0.9163 GB, free: 78.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.983, allocations: 266.8 kB / 0.9166 GB, free: 77.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008759/1.992, allocations: 5.366 MB / 0.9218 GB, free: 77.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.993, allocations: 29.36 kB / 0.9218 GB, free: 77.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.996, allocations: 5.998 MB / 0.9277 GB, free: 74.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002607/1.999, allocations: 2.208 MB / 0.9299 GB, free: 73.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006108/1.999, allocations: 0 / 0.9299 GB, free: 73.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006164/2, allocations: 0.8721 MB / 0.9307 GB, free: 72.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007262/2.007, allocations: 6.148 MB / 0.9367 GB, free: 72.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.018, allocations: 12.77 MB / 0.9492 GB, free: 64.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/2.03, allocations: 8.94 MB / 0.9579 GB, free: 64.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/2.03, allocations: 66.97 kB / 0.958 GB, free: 64.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.03893/2.069, allocations: 20.64 MB / 0.9781 GB, free: 60.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004112/2.07, allocations: 102.6 kB / 0.9782 GB, free: 60.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02564/2.095, allocations: 12.93 MB / 0.9909 GB, free: 56.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/2.109, allocations: 3.536 MB / 0.9943 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/2.12, allocations: 3.08 MB / 0.9973 GB, free: 54.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009985/2.13, allocations: 11.75 MB / 1.009 GB, free: 43.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/2.144, allocations: 0.8851 MB / 1.01 GB, free: 42.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003234/2.147, allocations: 0.7161 MB / 1.01 GB, free: 41.89 MB / 490.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 (1577): * Single equations (assignments): 1543 * 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.003982/2.151, allocations: 0.6879 MB / 1.011 GB, free: 41.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/2.153, allocations: 0.6485 MB / 1.012 GB, free: 40.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02535/2.178, allocations: 14.18 MB / 1.026 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02234/2.201, allocations: 12.73 MB / 1.038 GB, free: 18.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-05/2.201, allocations: 8 kB / 1.038 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/2.201, allocations: 24.56 kB / 1.038 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.391/2.592, allocations: 32.02 MB / 1.069 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.493e-05/2.592, allocations: 13.03 kB / 1.069 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006449/2.599, allocations: 1.143 MB / 1.07 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/2.611, allocations: 3.551 MB / 1.074 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/2.613, allocations: 78.48 kB / 1.074 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/2.627, allocations: 13.35 MB / 1.087 GB, free: 76.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00294/2.63, allocations: 5.658 MB / 1.092 GB, free: 70.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03569/2.666, allocations: 23.35 MB / 1.115 GB, free: 67.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/2.668, allocations: 0.6734 MB / 1.116 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/2.67, allocations: 49.28 kB / 1.116 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/2.675, allocations: 0.5209 MB / 1.116 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/2.676, allocations: 385.8 kB / 1.117 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004267/2.676, allocations: 165.3 kB / 1.117 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006253/2.683, allocations: 3.583 MB / 1.121 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.7e-07/2.683, allocations: 1.422 kB / 1.121 GB, free: 67.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01477/2.697, allocations: 2.305 MB / 1.123 GB, free: 67.28 MB / 0.4948 GB 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.001596/2.699, allocations: 233.5 kB / 1.123 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02417/2.723, allocations: 16.28 MB / 1.139 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.723, allocations: 0 / 1.139 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01315/2.736, allocations: 7.983 MB / 1.147 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008836/2.745, allocations: 0.6492 MB / 1.147 GB, free: 64.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06562/2.811, allocations: 23.16 MB / 1.17 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01696/2.828, allocations: 6.815 MB / 1.177 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02319/2.851, allocations: 5.06 MB / 1.182 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004234/2.856, allocations: 0.5063 MB / 1.182 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of SimCode: time 2.755e-06/2.856, allocations: 0 / 1.182 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.4328/3.288, allocations: 78.8 MB / 1.259 GB, free: 101.3 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)