Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [: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.002722/0.002722, allocations: 174.9 kB / 7.451 MB, free: 2.504 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.344/1.344, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001752/0.001752, allocations: 108.6 kB / 217.7 MB, free: 8.184 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.883e-06, allocations: 0 / 261.8 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09795, allocations: 38.76 MB / 300.5 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4411, allocations: 80.6 MB / 381.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4414, allocations: 78.2 kB / 381.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.7562/1.198, allocations: 178.3 MB / 0.5464 GB, free: 29.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001001/1.199, allocations: 156.2 kB / 0.5465 GB, free: 29.13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.05508/1.254, allocations: 8.146 MB / 0.5545 GB, free: 23.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.243e-05/1.254, allocations: 8.125 kB / 0.5545 GB, free: 23.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/1.29, allocations: 3.533 MB / 0.5579 GB, free: 21.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04893/1.339, allocations: 13.12 MB / 0.5708 GB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.34, allocations: 275.9 kB / 0.571 GB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007383/1.348, allocations: 0.5114 MB / 0.5715 GB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04577/1.393, allocations: 13.23 MB / 0.5844 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.273/1.667, allocations: 18.64 MB / 0.6026 GB, free: 78.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006291/1.667, allocations: 137.2 kB / 0.6028 GB, free: 78.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003591/1.671, allocations: 50.88 kB / 0.6028 GB, free: 78.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004524/1.675, allocations: 2.228 MB / 0.605 GB, free: 78.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/1.798, allocations: 91.61 MB / 0.6945 GB, free: 41.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009933/1.808, allocations: 7.019 MB / 0.7013 GB, free: 38.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.816, allocations: 6.109 MB / 0.7073 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003749/1.82, allocations: 2.238 MB / 0.7095 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.82, allocations: 66 kB / 0.7095 GB, free: 33.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=314): time 8.425e-06/1.82, allocations: 0 / 0.7095 GB, free: 33.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=411): time 0.5186/2.338, allocations: 127.6 MB / 0.8341 GB, free: 94.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/2.339, allocations: 199.5 kB / 0.8343 GB, free: 94.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/2.35, allocations: 5.633 MB / 0.8398 GB, free: 92.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001648/2.352, allocations: 29.7 kB / 0.8398 GB, free: 92.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004046/2.356, allocations: 5.333 MB / 0.845 GB, free: 88.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00356/2.36, allocations: 1.521 MB / 0.8465 GB, free: 87.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/2.361, allocations: 0.9375 kB / 0.8465 GB, free: 87.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006618/2.362, allocations: 0.7748 MB / 0.8473 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009875/2.372, allocations: 6.599 MB / 0.8537 GB, free: 82.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01593/2.388, allocations: 12.81 MB / 0.8662 GB, free: 67.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0493/2.437, allocations: 22.09 MB / 0.8878 GB, free: 49.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003048/2.438, allocations: 64 kB / 0.8879 GB, free: 49.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.2774/2.715, allocations: 40.61 MB / 0.9275 GB, free: 91.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/2.715, allocations: 3.719 kB / 0.9275 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0662/2.781, allocations: 24.77 MB / 0.9517 GB, free: 91.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03369/2.815, allocations: 9.915 MB / 0.9614 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/2.825, allocations: 2.497 MB / 0.9638 GB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09421/2.919, allocations: 49.93 MB / 1.013 GB, free: 51.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01508/2.934, allocations: 0.7825 MB / 1.013 GB, free: 51.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003705/2.938, allocations: 0.7379 MB / 1.014 GB, free: 50.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1009 * 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 (1284): * Single equations (assignments): 1270 * Array equations: 7 * 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%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005435/2.944, allocations: 0.6772 MB / 1.015 GB, free: 49.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00302/2.947, allocations: 0.6265 MB / 1.015 GB, free: 49.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/2.967, allocations: 8.087 MB / 1.023 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2564/3.224, allocations: 31.41 MB / 1.054 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001099/3.224, allocations: 26.69 kB / 1.054 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/3.224, allocations: 18.84 kB / 1.054 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1235/3.347, allocations: 50.53 MB / 1.103 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/3.348, allocations: 3.281 kB / 1.103 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/3.351, allocations: 0.5441 MB / 1.104 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03191/3.383, allocations: 9.419 MB / 1.113 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001685/3.384, allocations: 82.03 kB / 1.113 GB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/3.628, allocations: 47.11 MB / 1.159 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00146/3.629, allocations: 2.761 MB / 1.162 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09237/3.721, allocations: 41 MB / 1.202 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/3.724, allocations: 0.6468 MB / 1.203 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003852/3.728, allocations: 25.19 kB / 1.203 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007698/3.736, allocations: 361.8 kB / 1.203 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001865/3.738, allocations: 242.8 kB / 1.203 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008815/3.739, allocations: 217.6 kB / 1.203 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.01003/3.749, allocations: 3.815 MB / 1.207 GB, free: 80.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.02119/3.77, allocations: 2.433 MB / 1.209 GB, free: 80.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET139692044143117.x[3],$STATESET139692044143117.x[2],$STATESET139692044143117.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],$STATESET139692044143116.x[3],$STATESET139692044143116.x[2],$STATESET139692044143116.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 (264): * Single equations (assignments): 255 * Array equations: 3 * 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.002462/3.773, allocations: 193.2 kB / 1.21 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03014/3.803, allocations: 16.27 MB / 1.225 GB, free: 75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/3.803, allocations: 0 / 1.225 GB, free: 75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0134/3.816, allocations: 7.227 MB / 1.233 GB, free: 70.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006766/3.823, allocations: 0.6525 MB / 1.233 GB, free: 70.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06701/3.89, allocations: 20.9 MB / 1.254 GB, free: 52.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02379/3.914, allocations: 6.752 MB / 1.26 GB, free: 47.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/3.914, allocations: 2.719 kB / 1.26 GB, free: 47.42 MB / 378.7 MB Notification: Performance of Templates: time 0.4195/4.333, allocations: 125.6 MB / 1.383 GB, free: 39.15 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)