Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001393/0.001393, allocations: 157.7 kB / 7.633 MB, free: 1.445 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.239/1.239, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001701/0.001701, allocations: 107.3 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.938e-05, allocations: 4 kB / 262.2 MB, free: 3.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 38.76 MB / 301 MB, free: 39.08 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09523/0.3027, allocations: 81.55 MB / 382.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3029, allocations: 86.58 kB / 382.6 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3415/0.6444, allocations: 64.89 MB / 447.5 MB, free: 81.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6445, allocations: 0 / 447.5 MB, free: 81.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001898/0.6447, allocations: 71.03 kB / 447.6 MB, free: 81.29 MB / 330.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.008201/0.6529, allocations: 3.174 MB / 450.7 MB, free: 79.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6529, allocations: 11.03 kB / 450.8 MB, free: 79.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008741/0.6617, allocations: 1.949 MB / 452.7 MB, free: 79.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/0.6671, allocations: 2.153 MB / 454.9 MB, free: 78.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.6673, allocations: 109.3 kB / 455 MB, free: 78.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.6688, allocations: 200.1 kB / 455.2 MB, free: 78.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007967/0.6768, allocations: 4.435 MB / 459.6 MB, free: 78.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.6911, allocations: 7.502 MB / 467.1 MB, free: 73.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000208/0.6914, allocations: 50.22 kB / 467.1 MB, free: 73.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.6926, allocations: 32.44 kB / 467.2 MB, free: 73.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.6937, allocations: 0.7851 MB / 468 MB, free: 73.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.7263, allocations: 38.16 MB / 0.4943 GB, free: 40.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.7277, allocations: 1.37 MB / 0.4956 GB, free: 38.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.7282, allocations: 430.8 kB / 0.496 GB, free: 38.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.7286, allocations: 342.9 kB / 0.4963 GB, free: 37.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.7286, allocations: 42.78 kB / 0.4964 GB, free: 37.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 5.851e-06/0.7286, allocations: 6.516 kB / 0.4964 GB, free: 37.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.002799/0.7314, allocations: 1.204 MB / 0.4976 GB, free: 36.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.7315, allocations: 197.4 kB / 0.4977 GB, free: 36.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005779/0.7373, allocations: 3.113 MB / 0.5008 GB, free: 33.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/0.7374, allocations: 25.7 kB / 0.5008 GB, free: 33.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.7389, allocations: 2.959 MB / 0.5037 GB, free: 30.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.7393, allocations: 383.7 kB / 0.5041 GB, free: 29.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.7394, allocations: 0 / 0.5041 GB, free: 29.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.7397, allocations: 0.529 MB / 0.5046 GB, free: 29.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.741, allocations: 1.174 MB / 0.5057 GB, free: 27.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/0.744, allocations: 4.843 MB / 0.5105 GB, free: 21.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.7467, allocations: 2.416 MB / 0.5128 GB, free: 18.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.968e-05/0.7468, allocations: 41.5 kB / 0.5129 GB, free: 18.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.007558/0.7543, allocations: 5.106 MB / 0.5178 GB, free: 13.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.7544, allocations: 64 kB / 0.5179 GB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.7546, allocations: 135.3 kB / 0.518 GB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.7548, allocations: 192 kB / 0.5182 GB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.7581, allocations: 1.224 MB / 0.5194 GB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/0.7583, allocations: 255 kB / 0.5197 GB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/0.762, allocations: 0.645 MB / 0.5203 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.7625, allocations: 351.9 kB / 0.5206 GB, free: 10.8 MB / 330.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.0004945/0.763, allocations: 429.7 kB / 0.521 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/0.7635, allocations: 300.1 kB / 0.5213 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.7644, allocations: 0.4887 MB / 0.5218 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.7645, allocations: 12 kB / 0.5218 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.7645, allocations: 0 / 0.5218 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7645, allocations: 3.984 kB / 0.5218 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/0.7693, allocations: 3.057 MB / 0.5248 GB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7693, allocations: 7.953 kB / 0.5248 GB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.7698, allocations: 115.8 kB / 0.5249 GB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.7698, allocations: 4 kB / 0.5249 GB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.7699, allocations: 8 kB / 0.5249 GB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.7699, allocations: 7.984 kB / 0.5249 GB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7699, allocations: 9.031 kB / 0.5249 GB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.7717, allocations: 2.428 MB / 0.5273 GB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006937/0.7724, allocations: 0.5046 MB / 0.5278 GB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.7726, allocations: 8.062 kB / 0.5278 GB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.7735, allocations: 43.97 kB / 0.5279 GB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.7736, allocations: 55.83 kB / 0.5279 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.7736, allocations: 27.94 kB / 0.5279 GB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002415/0.7761, allocations: 2.13 MB / 0.53 GB, free: 0.9727 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7761, allocations: 7.938 kB / 0.53 GB, free: 0.9648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004012/0.7801, allocations: 0.8171 MB / 0.5308 GB, free: 148 kB / 330.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.0003838/0.7805, allocations: 162.9 kB / 0.531 GB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004348/0.7848, allocations: 2.71 MB / 0.5336 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7849, allocations: 0 / 0.5336 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.7854, allocations: 416.1 kB / 0.534 GB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.7873, allocations: 341.9 kB / 0.5343 GB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.8029, allocations: 7.192 MB / 0.5414 GB, free: 5.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/0.8069, allocations: 2.932 MB / 0.5442 GB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004388/0.8113, allocations: 1.708 MB / 0.5459 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.8118, allocations: 223.4 kB / 0.5461 GB, free: 472 kB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8119, allocations: 0 / 0.5461 GB, free: 472 kB / 346.7 MB Notification: Performance of Templates: time 0.2294/1.041, allocations: 22.5 MB / 0.5681 GB, free: 81.34 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)