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.00642/0.00642, allocations: 174.5 kB / 15.12 MB, free: 5.973 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.478/1.478, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.00182/0.001819, allocations: 116.5 kB / 255.6 MB, free: 10.15 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.2005/0.2005, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 14.66 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4279/0.5464, allocations: 96.56 MB / 0.5445 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004083/0.5469, allocations: 80.48 kB / 0.5446 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7686/1.315, allocations: 196.4 MB / 0.7364 GB, free: 78.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.316, allocations: 3.25 kB / 0.7364 GB, free: 78.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005118/1.316, allocations: 161.1 kB / 0.7366 GB, free: 78.9 MB / 490.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.04751/1.364, allocations: 10.12 MB / 0.7465 GB, free: 75.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.364, allocations: 10.66 kB / 0.7465 GB, free: 75.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04656/1.41, allocations: 12.04 MB / 0.7582 GB, free: 74.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/1.44, allocations: 11.93 MB / 0.7699 GB, free: 73.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007966/1.441, allocations: 0.6284 MB / 0.7705 GB, free: 73.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005702/1.446, allocations: 0.8304 MB / 0.7713 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05977/1.506, allocations: 21.75 MB / 0.7926 GB, free: 70.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007846/1.507, allocations: 76.72 kB / 0.7926 GB, free: 70.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005164/1.512, allocations: 386.1 kB / 0.793 GB, free: 70.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/1.516, allocations: 2.464 MB / 0.7954 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04627/1.562, allocations: 21.24 MB / 0.8161 GB, free: 69.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.68, allocations: 80.98 MB / 0.8952 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/1.704, allocations: 10.13 MB / 0.9051 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/1.705, allocations: 72.94 kB / 0.9052 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/1.705, allocations: 82.56 kB / 0.9053 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=583): time 1.411e-05/1.705, allocations: 0 / 0.9053 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=611): time 0.4079/2.113, allocations: 43.08 MB / 0.9473 GB, free: 79.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004329/2.118, allocations: 6.192 MB / 0.9534 GB, free: 73.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01504/2.133, allocations: 5.738 MB / 0.959 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001913/2.135, allocations: 108.2 kB / 0.9591 GB, free: 73.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005646/2.14, allocations: 5.841 MB / 0.9648 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004544/2.145, allocations: 2.246 MB / 0.967 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/2.148, allocations: 241.9 kB / 0.9672 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002467/2.15, allocations: 0.8458 MB / 0.968 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01201/2.162, allocations: 6.381 MB / 0.9743 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01562/2.178, allocations: 12.57 MB / 0.9866 GB, free: 61.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/2.193, allocations: 8.967 MB / 0.9953 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004218/2.193, allocations: 60.31 kB / 0.9954 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1637) (initialization): time 0.05125/2.244, allocations: 21.82 MB / 1.017 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004403/2.245, allocations: 99.69 kB / 1.017 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02682/2.272, allocations: 13.32 MB / 1.03 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/2.285, allocations: 3.579 MB / 1.033 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.296, allocations: 2.926 MB / 1.036 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/2.307, allocations: 12.45 MB / 1.048 GB, free: 36.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/2.321, allocations: 1.098 MB / 1.049 GB, free: 35.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003907/2.325, allocations: 0.666 MB / 1.05 GB, free: 35.19 MB / 0.4948 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 () * Number of clocked 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.01511/2.34, allocations: 4.49 MB / 1.054 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005226/2.345, allocations: 0.6591 MB / 1.055 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03474/2.38, allocations: 14.66 MB / 1.069 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02718/2.407, allocations: 13.12 MB / 1.082 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.476e-05/2.407, allocations: 8 kB / 1.082 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001491/2.407, allocations: 28.5 kB / 1.082 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.353/2.76, allocations: 33.81 MB / 1.115 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.028e-05/2.76, allocations: 9.844 kB / 1.115 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006038/2.766, allocations: 1.135 MB / 1.116 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/2.779, allocations: 3.623 MB / 1.12 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001846/2.781, allocations: 147.2 kB / 1.12 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/2.793, allocations: 13.9 MB / 1.134 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002976/2.796, allocations: 5.949 MB / 1.139 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03863/2.834, allocations: 23.72 MB / 1.163 GB, free: 70.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/2.837, allocations: 0.692 MB / 1.163 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002979/2.84, allocations: 127.5 kB / 1.163 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00703/2.847, allocations: 0.5946 MB / 1.164 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/2.849, allocations: 377.7 kB / 1.164 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006703/2.85, allocations: 164.8 kB / 1.164 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007529/2.857, allocations: 4.003 MB / 1.168 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/2.857, allocations: 0 / 1.168 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01535/2.873, allocations: 2.54 MB / 1.171 GB, free: 70.04 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 () * 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.001945/2.875, allocations: 310.4 kB / 1.171 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02784/2.903, allocations: 16.89 MB / 1.188 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/2.903, allocations: 3.938 kB / 1.188 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01312/2.916, allocations: 8.207 MB / 1.196 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007146/2.923, allocations: 0.8739 MB / 1.197 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.052/2.975, allocations: 30.68 MB / 1.226 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/2.989, allocations: 6.821 MB / 1.233 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01342/3.003, allocations: 4.796 MB / 1.238 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/3.005, allocations: 0.5009 MB / 1.238 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/3.005, allocations: 4 kB / 1.238 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.6845/3.69, allocations: 86.8 MB / 1.323 GB, free: 88.69 MB / 0.5262 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)