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.01281/0.01281, allocations: 165.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.22/1.22, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001724/0.001724, allocations: 118.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3585, allocations: 82.3 MB / 395.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.3589, allocations: 95.94 kB / 395.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3021/0.6611, allocations: 66.45 MB / 461.7 MB, free: 61.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6611, allocations: 0 / 461.7 MB, free: 61.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.6612, allocations: 67.94 kB / 461.8 MB, free: 61.88 MB / 314.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.006391/0.6676, allocations: 3.576 MB / 465.4 MB, free: 58.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6677, allocations: 12.03 kB / 465.4 MB, free: 58.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/0.675, allocations: 1.945 MB / 467.3 MB, free: 56.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.6798, allocations: 2.177 MB / 469.5 MB, free: 54.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.68, allocations: 262.8 kB / 469.8 MB, free: 53.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008236/0.6808, allocations: 343.8 kB / 470.1 MB, free: 53.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.6917, allocations: 8.08 MB / 478.2 MB, free: 44.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.335e-05/0.6918, allocations: 55.5 kB / 478.2 MB, free: 44.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.6922, allocations: 163.9 kB / 478.4 MB, free: 44.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006974/0.693, allocations: 0.7906 MB / 479.2 MB, free: 43.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/0.7011, allocations: 5.968 MB / 485.2 MB, free: 37.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.7312, allocations: 39.91 MB / 0.5128 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.734, allocations: 1.584 MB / 0.5143 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004802/0.7389, allocations: 2.834 MB / 0.5171 GB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.7389, allocations: 54.5 kB / 0.5171 GB, free: 7.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 3.447e-06/0.7389, allocations: 0 / 0.5171 GB, free: 7.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.004163/0.7431, allocations: 1.937 MB / 0.519 GB, free: 5.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.7432, allocations: 196 kB / 0.5192 GB, free: 5.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005998/0.7492, allocations: 3.659 MB / 0.5228 GB, free: 1.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.7494, allocations: 37.69 kB / 0.5228 GB, free: 1.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.7519, allocations: 2.909 MB / 0.5257 GB, free: 14.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.7524, allocations: 371.8 kB / 0.526 GB, free: 13.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.7526, allocations: 100 kB / 0.5261 GB, free: 13.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003269/0.7529, allocations: 0.5207 MB / 0.5266 GB, free: 13.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.7549, allocations: 1.243 MB / 0.5278 GB, free: 12.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/0.7593, allocations: 4.787 MB / 0.5325 GB, free: 5.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.7631, allocations: 2.422 MB / 0.5349 GB, free: 3.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.027e-05/0.7632, allocations: 43.94 kB / 0.5349 GB, free: 3.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.1903/0.9535, allocations: 5.719 MB / 0.5405 GB, free: 83.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.9536, allocations: 65.31 kB / 0.5406 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/0.9538, allocations: 127.3 kB / 0.5407 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.954, allocations: 186.1 kB / 0.5409 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.9575, allocations: 1.161 MB / 0.542 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001877/0.9577, allocations: 250.7 kB / 0.5422 GB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/0.9624, allocations: 0.7622 MB / 0.543 GB, free: 83.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/0.9641, allocations: 332.6 kB / 0.5433 GB, free: 83.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 627 * 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.004762/0.9689, allocations: 1.84 MB / 0.5451 GB, free: 83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/0.9702, allocations: 324.5 kB / 0.5454 GB, free: 82.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.9716, allocations: 0.5199 MB / 0.5459 GB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.9716, allocations: 10.19 kB / 0.5459 GB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9717, allocations: 1.188 kB / 0.5459 GB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.9717, allocations: 2.219 kB / 0.5459 GB, free: 82.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.9794, allocations: 3.429 MB / 0.5493 GB, free: 82.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.9794, allocations: 10.2 kB / 0.5493 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.98, allocations: 105.7 kB / 0.5494 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.98, allocations: 5.844 kB / 0.5494 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.9801, allocations: 17.48 kB / 0.5494 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.9801, allocations: 9.094 kB / 0.5494 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.9801, allocations: 8.188 kB / 0.5494 GB, free: 82.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.9835, allocations: 2.427 MB / 0.5518 GB, free: 81.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.9851, allocations: 0.541 MB / 0.5523 GB, free: 80.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.9855, allocations: 13.91 kB / 0.5523 GB, free: 80.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9865, allocations: 59.5 kB / 0.5524 GB, free: 80.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.9867, allocations: 49.36 kB / 0.5524 GB, free: 80.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.9867, allocations: 24.59 kB / 0.5525 GB, free: 80.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004453/0.9912, allocations: 2.624 MB / 0.555 GB, free: 80.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.9912, allocations: 0 / 0.555 GB, free: 80.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005352/0.9966, allocations: 0.9053 MB / 0.5559 GB, free: 80.5 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0005008/0.9971, allocations: 165.8 kB / 0.5561 GB, free: 80.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005185/1.002, allocations: 2.9 MB / 0.5589 GB, free: 80.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.002, allocations: 0 / 0.5589 GB, free: 80.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/1.003, allocations: 408.5 kB / 0.5593 GB, free: 80.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/1.005, allocations: 402.8 kB / 0.5597 GB, free: 80.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.021, allocations: 9.913 MB / 0.5693 GB, free: 76.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/1.025, allocations: 2.929 MB / 0.5722 GB, free: 75.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004196/1.029, allocations: 1.635 MB / 0.5738 GB, free: 75.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/1.029, allocations: 229.1 kB / 0.574 GB, free: 75.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.934e-06/1.029, allocations: 0 / 0.574 GB, free: 75.05 MB / 346.7 MB Notification: Performance of Templates: time 0.05157/1.081, allocations: 26.29 MB / 0.5997 GB, free: 56.28 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)