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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001421/0.001421, allocations: 192.7 kB / 7.466 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.224/1.224, allocations: 194.2 MB / 202.1 MB, free: 14.32 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001711/0.001711, allocations: 122 kB / 247.1 MB, free: 0.5156 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1599/0.1599, allocations: 39.94 MB / 331.9 MB, free: 11.58 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 7.064e-06/7.184e-06, allocations: 0 / 392.8 MB, free: 48.39 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09587, allocations: 54.86 MB / 447.6 MB, free: 9.445 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3846, allocations: 95.73 MB / 0.5306 GB, free: 3.117 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.3849, allocations: 72.62 kB / 0.5307 GB, free: 3.047 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.6275/1.012, allocations: 191 MB / 0.7173 GB, free: 84.82 MB / 466.8 MB Notification: Performance of Transformations before backend: time 0.0004967/1.013, allocations: 159.8 kB / 0.7174 GB, free: 84.66 MB / 466.8 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.03642/1.049, allocations: 9.09 MB / 0.7263 GB, free: 75.51 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.049, allocations: 8.031 kB / 0.7263 GB, free: 75.5 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04403/1.094, allocations: 10.57 MB / 0.7366 GB, free: 64.89 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02941/1.123, allocations: 11.94 MB / 0.7483 GB, free: 52.94 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/1.123, allocations: 272 kB / 0.7486 GB, free: 52.68 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004056/1.127, allocations: 0.492 MB / 0.749 GB, free: 52.18 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02319/1.151, allocations: 15.63 MB / 0.7643 GB, free: 36.55 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04055/1.191, allocations: 20.5 MB / 0.7843 GB, free: 15.02 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000636/1.192, allocations: 79.3 kB / 0.7844 GB, free: 14.94 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004371/1.196, allocations: 28 kB / 0.7844 GB, free: 14.91 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003238/1.2, allocations: 2.641 MB / 0.787 GB, free: 12.27 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2878/1.487, allocations: 78.47 MB / 0.8636 GB, free: 96.56 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/1.497, allocations: 7.387 MB / 0.8708 GB, free: 93.64 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008126/1.505, allocations: 6.825 MB / 0.8775 GB, free: 90.85 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03822/1.544, allocations: 21.41 MB / 0.8984 GB, free: 81.28 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/1.544, allocations: 86.52 kB / 0.8985 GB, free: 81.21 MB / 466.8 MB Notification: Performance of pre-optimization done (n=539): time 1.113e-05/1.544, allocations: 2.5 kB / 0.8985 GB, free: 81.21 MB / 466.8 MB Notification: Performance of matching and sorting (n=567): time 0.07182/1.616, allocations: 33.45 MB / 0.9312 GB, free: 59.08 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/1.616, allocations: 257.5 kB / 0.9314 GB, free: 58.78 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/1.627, allocations: 5.804 MB / 0.9371 GB, free: 53.86 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001306/1.629, allocations: 25.7 kB / 0.9371 GB, free: 53.82 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002935/1.632, allocations: 5.677 MB / 0.9426 GB, free: 48.8 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003019/1.635, allocations: 2.059 MB / 0.9447 GB, free: 46.95 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.636, allocations: 0 / 0.9447 GB, free: 46.95 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0009152/1.637, allocations: 0.8752 MB / 0.9455 GB, free: 46.22 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008197/1.645, allocations: 6.369 MB / 0.9517 GB, free: 40.51 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/1.657, allocations: 12.97 MB / 0.9644 GB, free: 25.43 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/1.671, allocations: 9.24 MB / 0.9734 GB, free: 17.8 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003172/1.671, allocations: 64 kB / 0.9735 GB, free: 17.73 MB / 466.8 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.2313/1.902, allocations: 20.79 MB / 0.9938 GB, free: 107.7 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.902, allocations: 3.812 kB / 0.9938 GB, free: 107.7 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02532/1.928, allocations: 13.05 MB / 1.007 GB, free: 107.5 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01372/1.941, allocations: 3.232 MB / 1.01 GB, free: 107.4 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/1.953, allocations: 2.932 MB / 1.013 GB, free: 107.4 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/1.963, allocations: 11.44 MB / 1.024 GB, free: 100.1 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/1.975, allocations: 0.647 MB / 1.024 GB, free: 100.1 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00278/1.977, allocations: 0.7139 MB / 1.025 GB, free: 100.1 MB / 466.8 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 {(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 prepare postOptimizeDAE: time 0.002566/1.98, allocations: 0.6878 MB / 1.026 GB, free: 99.97 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.982, allocations: 0.6438 MB / 1.026 GB, free: 99.97 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.984, allocations: 1.07 MB / 1.027 GB, free: 99.91 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0226/2.007, allocations: 12.38 MB / 1.039 GB, free: 99.64 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-05/2.007, allocations: 7.625 kB / 1.039 GB, free: 99.64 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/2.007, allocations: 21.61 kB / 1.04 GB, free: 99.64 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/2.023, allocations: 9.428 MB / 1.049 GB, free: 99.35 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/2.023, allocations: 2.844 kB / 1.049 GB, free: 99.35 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00547/2.029, allocations: 0.9136 MB / 1.05 GB, free: 99.35 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/2.041, allocations: 3.239 MB / 1.053 GB, free: 99.24 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001805/2.043, allocations: 67.53 kB / 1.053 GB, free: 99.24 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/2.056, allocations: 12.95 MB / 1.065 GB, free: 90.92 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00275/2.059, allocations: 5.501 MB / 1.071 GB, free: 85.59 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0361/2.095, allocations: 20.87 MB / 1.091 GB, free: 78.71 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/2.097, allocations: 0.6902 MB / 1.092 GB, free: 78.35 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002695/2.1, allocations: 37.91 kB / 1.092 GB, free: 78.34 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005161/2.105, allocations: 311.3 kB / 1.092 GB, free: 78.34 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/2.106, allocations: 237.3 kB / 1.092 GB, free: 78.31 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004451/2.107, allocations: 131.3 kB / 1.093 GB, free: 78.28 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.006166/2.113, allocations: 3.902 MB / 1.096 GB, free: 76.95 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.01246/2.125, allocations: 2.313 MB / 1.099 GB, free: 76.37 MB / 466.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 48 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.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 (435): * Single equations (assignments): 409 * 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.001009/2.126, allocations: 200.2 kB / 1.099 GB, free: 76.23 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.02388/2.15, allocations: 16.47 MB / 1.115 GB, free: 61.75 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.15, allocations: 0 / 1.115 GB, free: 61.75 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01164/2.162, allocations: 7.608 MB / 1.122 GB, free: 54.83 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/2.167, allocations: 0.6116 MB / 1.123 GB, free: 54.31 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04638/2.213, allocations: 22.53 MB / 1.145 GB, free: 34.59 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01479/2.228, allocations: 7.355 MB / 1.152 GB, free: 29.07 MB / 466.8 MB Notification: Performance of SimCode: time 1.102e-06/2.228, allocations: 0 / 1.152 GB, free: 29.07 MB / 466.8 MB Notification: Performance of Templates: time 0.3772/2.605, allocations: 100.8 MB / 1.251 GB, free: 88.93 MB / 466.8 MB 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)