Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6787/0.6787, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001791/0.001791, allocations: 151.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04241/0.04245, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.2098, allocations: 47.29 MB / 252.7 MB, free: 19.63 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.2101, allocations: 72.83 kB / 252.8 MB, free: 19.63 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659/1.869, allocations: 388.2 MB / 0.626 GB, free: 16.32 MB / 266.8 MB Notification: Performance of FrontEnd: time 2.274e-06/1.869, allocations: 0 / 0.626 GB, free: 16.32 MB / 266.8 MB Notification: Performance of Transformations before backend: time 0.0005875/1.87, allocations: 216.3 kB / 0.6262 GB, free: 16.32 MB / 266.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4074 * Number of variables: 4074 Notification: Performance of Generate backend data structure: time 0.05959/1.929, allocations: 15.11 MB / 0.6409 GB, free: 14.43 MB / 266.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.93, allocations: 9.156 kB / 0.6409 GB, free: 14.43 MB / 266.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2302/2.16, allocations: 45.45 MB / 0.6853 GB, free: 12.5 MB / 266.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03772/2.197, allocations: 17.12 MB / 0.702 GB, free: 4.668 MB / 266.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009918/2.199, allocations: 0.8801 MB / 0.7029 GB, free: 4.176 MB / 266.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01055/2.209, allocations: 1.144 MB / 0.704 GB, free: 3.422 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3322/2.541, allocations: 45.14 MB / 0.7481 GB, free: 25.3 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001287/2.543, allocations: 99.16 kB / 0.7482 GB, free: 25.3 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01192/2.555, allocations: 0.5057 MB / 0.7487 GB, free: 25.3 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08394/2.639, allocations: 18.37 MB / 0.7666 GB, free: 25.27 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1177/2.756, allocations: 51.75 MB / 0.8172 GB, free: 10.16 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.487/4.243, allocations: 271.7 MB / 1.082 GB, free: 45.47 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07632/4.319, allocations: 24.99 MB / 1.107 GB, free: 44.57 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01664/4.336, allocations: 13.62 MB / 1.12 GB, free: 44.45 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009619/4.337, allocations: 433.6 kB / 1.121 GB, free: 44.16 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/4.337, allocations: 100.6 kB / 1.121 GB, free: 44.12 MB / 314.8 MB Notification: Performance of pre-optimization done (n=701): time 1.881e-05/4.337, allocations: 2.375 kB / 1.121 GB, free: 44.12 MB / 314.8 MB Notification: Performance of matching and sorting (n=814): time 0.8855/5.223, allocations: 184.7 MB / 1.301 GB, free: 53.06 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001786/5.225, allocations: 3.352 MB / 1.304 GB, free: 49.93 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01667/5.241, allocations: 8.731 MB / 1.313 GB, free: 49.48 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002452/5.244, allocations: 138.9 kB / 1.313 GB, free: 49.45 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005157/5.249, allocations: 7.439 MB / 1.32 GB, free: 46.34 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004724/5.254, allocations: 2.927 MB / 1.323 GB, free: 44.56 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003361/5.257, allocations: 322 kB / 1.323 GB, free: 44.56 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.001251/5.258, allocations: 1.007 MB / 1.324 GB, free: 44.22 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01786/5.276, allocations: 12.12 MB / 1.336 GB, free: 44.18 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02271/5.299, allocations: 20.29 MB / 1.356 GB, free: 30.87 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02048/5.319, allocations: 14.35 MB / 1.37 GB, free: 25.88 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003552/5.32, allocations: 79.84 kB / 1.37 GB, free: 25.88 MB / 314.8 MB Notification: Performance of matching and sorting (n=2164) (initialization): time 0.3114/5.631, allocations: 46.78 MB / 1.416 GB, free: 39.27 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008847/5.632, allocations: 128.1 kB / 1.416 GB, free: 39.27 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05921/5.691, allocations: 19.2 MB / 1.435 GB, free: 39.08 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07148/5.763, allocations: 13.93 MB / 1.448 GB, free: 39.02 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02259/5.786, allocations: 4.074 MB / 1.452 GB, free: 39.02 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06422/5.85, allocations: 52.69 MB / 1.504 GB, free: 14.02 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02972/5.88, allocations: 3.837 MB / 1.507 GB, free: 11.74 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005144/5.885, allocations: 1.231 MB / 1.509 GB, free: 10.66 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1290 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1919): * Single equations (assignments): 1866 * Array equations: 46 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 36,(3,100.0%) 3,(6,100.0%) 66} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.006673/5.891, allocations: 1.267 MB / 1.51 GB, free: 9.809 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003419/5.895, allocations: 0.9302 MB / 1.511 GB, free: 9.375 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2551/6.15, allocations: 14.47 MB / 1.525 GB, free: 38.15 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09543/6.245, allocations: 34.76 MB / 1.559 GB, free: 37.79 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001902/6.246, allocations: 30.41 kB / 1.559 GB, free: 37.79 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002615/6.246, allocations: 39.75 kB / 1.559 GB, free: 37.79 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4691/6.715, allocations: 83.08 MB / 1.64 GB, free: 31.38 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001637/6.715, allocations: 22.69 kB / 1.64 GB, free: 31.38 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007158/6.722, allocations: 1.222 MB / 1.641 GB, free: 31.38 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04527/6.768, allocations: 12.68 MB / 1.654 GB, free: 31.32 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003198/6.771, allocations: 315.9 kB / 1.654 GB, free: 31.32 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06818/6.839, allocations: 46.45 MB / 1.699 GB, free: 23.33 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001814/6.841, allocations: 3 MB / 1.702 GB, free: 20.48 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.329/7.17, allocations: 52.42 MB / 1.753 GB, free: 47.84 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005178/7.175, allocations: 1.181 MB / 1.755 GB, free: 47.75 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006891/7.182, allocations: 171.8 kB / 1.755 GB, free: 47.75 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0208/7.203, allocations: 2.654 MB / 1.757 GB, free: 47.75 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002967/7.206, allocations: 0.5826 MB / 1.758 GB, free: 47.74 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001702/7.208, allocations: 0.4918 MB / 1.758 GB, free: 47.74 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0119/7.22, allocations: 6.119 MB / 1.764 GB, free: 47.45 MB / 330.8 MB Notification: Performance of sort global known variables: time 3.71e-07/7.22, allocations: 5.125 kB / 1.764 GB, free: 47.45 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.02621/7.246, allocations: 3.95 MB / 1.768 GB, free: 47.45 MB / 330.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 107 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (637): * Single equations (assignments): 613 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00282/7.249, allocations: 377.3 kB / 1.769 GB, free: 47.36 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.04187/7.291, allocations: 27.53 MB / 1.796 GB, free: 46.23 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.329e-05/7.291, allocations: 3.688 kB / 1.796 GB, free: 46.23 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01822/7.309, allocations: 11.83 MB / 1.807 GB, free: 41.42 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/7.32, allocations: 0.9782 MB / 1.808 GB, free: 40.97 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06688/7.387, allocations: 30.91 MB / 1.838 GB, free: 24.44 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01375/7.401, allocations: 8.189 MB / 1.846 GB, free: 18.52 MB / 330.8 MB Notification: Performance of simCode: alias equations: time 0.02309/7.424, allocations: 5.623 MB / 1.852 GB, free: 14.46 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008865/7.433, allocations: 1.233 MB / 1.853 GB, free: 13.52 MB / 330.8 MB Notification: Performance of SimCode: time 1.332e-06/7.433, allocations: 0 / 1.853 GB, free: 13.52 MB / 330.8 MB Notification: Performance of Templates: time 0.8158/8.249, allocations: 229.9 MB / 2.077 GB, free: 24.58 MB / 346.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)