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") [: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.1+maint.om/package.mo): time 0.002938/0.002938, allocations: 178 kB / 7.452 MB, free: 2.516 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.49/1.49, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001882/0.001882, allocations: 115.8 kB / 217.7 MB, free: 8.207 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.1948/0.1948, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.673e-06, allocations: 0 / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4611, allocations: 89.03 MB / 487.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4614, allocations: 75.19 kB / 487.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6982/1.16, allocations: 190.9 MB / 0.6623 GB, free: 71.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007645/1.16, allocations: 164.6 kB / 0.6625 GB, free: 71.58 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.04422/1.205, allocations: 9.079 MB / 0.6713 GB, free: 68.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.205, allocations: 7.5 kB / 0.6713 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04622/1.251, allocations: 10.52 MB / 0.6816 GB, free: 67.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03165/1.283, allocations: 11.9 MB / 0.6932 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/1.284, allocations: 268.7 kB / 0.6935 GB, free: 66.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006091/1.29, allocations: 0.4986 MB / 0.694 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03075/1.321, allocations: 15.63 MB / 0.7092 GB, free: 59.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05033/1.371, allocations: 20.51 MB / 0.7293 GB, free: 41.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005684/1.372, allocations: 70.05 kB / 0.7293 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004885/1.377, allocations: 36 kB / 0.7294 GB, free: 41.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00364/1.38, allocations: 2.637 MB / 0.7319 GB, free: 38.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3246/1.705, allocations: 78.48 MB / 0.8086 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.715, allocations: 7.373 MB / 0.8158 GB, free: 67.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009012/1.724, allocations: 6.823 MB / 0.8225 GB, free: 67.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03717/1.761, allocations: 21.39 MB / 0.8433 GB, free: 63.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/1.761, allocations: 78.12 kB / 0.8434 GB, free: 63.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=539): time 7.604e-06/1.761, allocations: 0 / 0.8434 GB, free: 63.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=567): time 0.07314/1.834, allocations: 33.46 MB / 0.8761 GB, free: 50.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.835, allocations: 251.4 kB / 0.8763 GB, free: 50.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01535/1.85, allocations: 5.806 MB / 0.882 GB, free: 48.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00139/1.851, allocations: 29.52 kB / 0.882 GB, free: 48.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00385/1.855, allocations: 5.666 MB / 0.8876 GB, free: 44.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00337/1.859, allocations: 2.061 MB / 0.8896 GB, free: 42.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/1.861, allocations: 0 / 0.8896 GB, free: 42.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009882/1.862, allocations: 0.8764 MB / 0.8904 GB, free: 42.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009767/1.871, allocations: 6.344 MB / 0.8966 GB, free: 39.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/1.886, allocations: 12.97 MB / 0.9093 GB, free: 25.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.899, allocations: 9.219 MB / 0.9183 GB, free: 17.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001938/1.9, allocations: 64 kB / 0.9184 GB, free: 17.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.04332/1.943, allocations: 20.41 MB / 0.9383 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.943, allocations: 8 kB / 0.9383 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2317/2.175, allocations: 12.93 MB / 0.9509 GB, free: 86.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/2.187, allocations: 2.924 MB / 0.9538 GB, free: 86.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/2.2, allocations: 3.002 MB / 0.9567 GB, free: 86.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008653/2.209, allocations: 10.07 MB / 0.9665 GB, free: 79.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/2.224, allocations: 0.6468 MB / 0.9672 GB, free: 79.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003972/2.228, allocations: 0.7138 MB / 0.9679 GB, free: 79.01 MB / 426.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 {(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 {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.005144/2.234, allocations: 0.6869 MB / 0.9685 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/2.236, allocations: 0.642 MB / 0.9692 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/2.239, allocations: 1.067 MB / 0.9702 GB, free: 78.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02613/2.266, allocations: 12.38 MB / 0.9823 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-05/2.266, allocations: 5.656 kB / 0.9823 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001785/2.266, allocations: 32.81 kB / 0.9823 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/2.299, allocations: 9.43 MB / 0.9915 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.915e-05/2.3, allocations: 0 / 0.9915 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007381/2.307, allocations: 0.9117 MB / 0.9924 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01369/2.321, allocations: 3.238 MB / 0.9956 GB, free: 78.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001579/2.322, allocations: 64.73 kB / 0.9957 GB, free: 78.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/2.335, allocations: 12.94 MB / 1.008 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002897/2.338, allocations: 5.501 MB / 1.014 GB, free: 65.69 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03688/2.375, allocations: 20.87 MB / 1.034 GB, free: 60.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005619/2.38, allocations: 1.692 MB / 1.036 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002896/2.383, allocations: 40.44 kB / 1.036 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005849/2.389, allocations: 316.3 kB / 1.036 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/2.39, allocations: 233.3 kB / 1.036 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005582/2.391, allocations: 137.3 kB / 1.036 GB, free: 59.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007652/2.399, allocations: 3.896 MB / 1.04 GB, free: 58.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0146/2.413, allocations: 2.295 MB / 1.042 GB, free: 57.19 MB / 426.7 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.001612/2.415, allocations: 203.5 kB / 1.043 GB, free: 57.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02815/2.443, allocations: 15.98 MB / 1.058 GB, free: 42.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/2.443, allocations: 0 / 1.058 GB, free: 42.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01288/2.456, allocations: 7.608 MB / 1.066 GB, free: 35.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/2.461, allocations: 0.6106 MB / 1.066 GB, free: 35.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04888/2.51, allocations: 22.52 MB / 1.088 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2237/2.734, allocations: 7.365 MB / 1.095 GB, free: 76.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.365e-06/2.734, allocations: 0 / 1.095 GB, free: 76.74 MB / 426.7 MB Notification: Performance of Templates: time 0.1822/2.916, allocations: 98.35 MB / 1.191 GB, free: 56.89 MB / 426.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)