Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [: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.001948/0.001948, allocations: 189.6 kB / 8.138 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.341/1.341, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001794/0.001794, allocations: 119.8 kB / 247.8 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.684e-06, allocations: 4 kB / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07049/0.07051, allocations: 44.49 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.2686, allocations: 87.33 MB / 429.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.2688, allocations: 91.19 kB / 429.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1658/0.4346, allocations: 64.8 MB / 494.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001514/0.4348, allocations: 64 kB / 494.3 MB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.006233/0.441, allocations: 3.179 MB / 497.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4411, allocations: 8.031 kB / 497.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007992/0.4491, allocations: 1.633 MB / 499.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.4534, allocations: 2.06 MB / 0.4895 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.4535, allocations: 108 kB / 0.4896 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000811/0.4543, allocations: 199.9 kB / 0.4898 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00654/0.4609, allocations: 4.519 MB / 0.4942 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009445/0.4704, allocations: 7.598 MB / 0.5016 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.541e-05/0.4705, allocations: 47.56 kB / 0.5016 GB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.4708, allocations: 28 kB / 0.5017 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007601/0.4716, allocations: 0.8285 MB / 0.5025 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/0.6003, allocations: 38.27 MB / 0.5399 GB, free: 104 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.6016, allocations: 1.362 MB / 0.5412 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.6021, allocations: 442.2 kB / 0.5416 GB, free: 103.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.6024, allocations: 343.6 kB / 0.5419 GB, free: 102.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.6024, allocations: 46.95 kB / 0.542 GB, free: 102.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 3.387e-06/0.6024, allocations: 0 / 0.542 GB, free: 102.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002401/0.6048, allocations: 1.271 MB / 0.5432 GB, free: 102.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6049, allocations: 193.8 kB / 0.5434 GB, free: 102.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.6081, allocations: 3.123 MB / 0.5465 GB, free: 102.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.6081, allocations: 25.7 kB / 0.5465 GB, free: 102.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.6092, allocations: 2.701 MB / 0.5491 GB, free: 100.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.6094, allocations: 394.6 kB / 0.5495 GB, free: 100.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.6096, allocations: 3.969 kB / 0.5495 GB, free: 100.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.6098, allocations: 0.5257 MB / 0.55 GB, free: 100.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.6113, allocations: 1.207 MB / 0.5512 GB, free: 100.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.6138, allocations: 4.878 MB / 0.556 GB, free: 95.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/0.6166, allocations: 2.491 MB / 0.5584 GB, free: 95.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-05/0.6166, allocations: 38.28 kB / 0.5584 GB, free: 95.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.006749/0.6234, allocations: 5.136 MB / 0.5634 GB, free: 94.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6234, allocations: 3.906 kB / 0.5634 GB, free: 94.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-05/0.6235, allocations: 133.8 kB / 0.5636 GB, free: 94.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.6237, allocations: 192.9 kB / 0.5638 GB, free: 94.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.6269, allocations: 1.218 MB / 0.5649 GB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/0.6271, allocations: 265.4 kB / 0.5652 GB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.6304, allocations: 0.6208 MB / 0.5658 GB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/0.6308, allocations: 354.8 kB / 0.5661 GB, free: 94.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 24 (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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 658 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000451/0.6312, allocations: 425.3 kB / 0.5665 GB, free: 94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.6316, allocations: 294.9 kB / 0.5668 GB, free: 93.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.6325, allocations: 0.506 MB / 0.5673 GB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.6326, allocations: 7.969 kB / 0.5673 GB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.6326, allocations: 0 / 0.5673 GB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6326, allocations: 3.703 kB / 0.5673 GB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.6372, allocations: 2.982 MB / 0.5702 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6373, allocations: 3.812 kB / 0.5703 GB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.6378, allocations: 112.3 kB / 0.5704 GB, free: 93.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.6378, allocations: 15.59 kB / 0.5704 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.6379, allocations: 8.688 kB / 0.5704 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6379, allocations: 6.656 kB / 0.5704 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6379, allocations: 3.812 kB / 0.5704 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002135/0.6401, allocations: 2.469 MB / 0.5728 GB, free: 91.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/0.6407, allocations: 441.5 kB / 0.5732 GB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.6411, allocations: 4.375 kB / 0.5732 GB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.642, allocations: 30.89 kB / 0.5733 GB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.6421, allocations: 43.44 kB / 0.5733 GB, free: 91.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.6422, allocations: 25.38 kB / 0.5733 GB, free: 91.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002807/0.645, allocations: 2.145 MB / 0.5754 GB, free: 90.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004104/0.6491, allocations: 0.8121 MB / 0.5762 GB, free: 90.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002906/0.6494, allocations: 136.9 kB / 0.5763 GB, free: 90.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003447/0.6529, allocations: 2.803 MB / 0.5791 GB, free: 89.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6529, allocations: 0 / 0.5791 GB, free: 89.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.6534, allocations: 426.2 kB / 0.5795 GB, free: 89.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.6548, allocations: 330.7 kB / 0.5798 GB, free: 89.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008979/0.6638, allocations: 5.79 MB / 0.5855 GB, free: 87.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003086/0.6669, allocations: 3.167 MB / 0.5885 GB, free: 86.09 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6669, allocations: 3 kB / 0.5885 GB, free: 86.09 MB / 394.7 MB Notification: Performance of Templates: time 0.04485/0.7118, allocations: 22.86 MB / 0.6109 GB, free: 77.85 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)