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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 47.58 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02978/0.2683, allocations: 30.29 MB / 356.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2864, allocations: 6.296 MB / 363.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00882/0.2953, allocations: 139.7 kB / 363.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005456/0.3008, allocations: 1.547 MB / 364.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.3133, allocations: 4.553 MB / 369.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3148, allocations: 215.7 kB / 369.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02445/0.3393, allocations: 17.46 MB / 387 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.3436, allocations: 2.433 MB / 389.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.3454, allocations: 0.8444 MB / 390.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.3479, allocations: 1.359 MB / 391.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006477/0.3486, allocations: 96 kB / 391.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.3501, allocations: 495.2 kB / 392.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.3519, allocations: 1.278 MB / 393.5 MB, free: 296 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.353, allocations: 0.6013 MB / 394.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.3572, allocations: 3.507 MB / 397.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3573, allocations: 0 / 397.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3573, allocations: 0 / 397.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.3574, allocations: 0 / 397.6 MB, free: 12.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.005077/0.3625, allocations: 2.854 MB / 400.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3625, allocations: 8.031 kB / 400.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.3674, allocations: 1.668 MB / 402.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.3703, allocations: 1.44 MB / 403.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.3704, allocations: 155.8 kB / 403.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.3708, allocations: 195.9 kB / 403.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3808, allocations: 6.975 MB / 410.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.381, allocations: 27.75 kB / 410.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.3812, allocations: 99.88 kB / 411 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/0.3834, allocations: 1.562 MB / 412.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.3936, allocations: 5.454 MB / 418 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03476/0.4284, allocations: 27.18 MB / 445.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.432, allocations: 1.584 MB / 446.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.4328, allocations: 468.9 kB / 447.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004709/0.4375, allocations: 2.586 MB / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4376, allocations: 42.5 kB / 449.9 MB, free: 5.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.775e-06/0.4376, allocations: 0 / 449.9 MB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003939/0.4416, allocations: 1.635 MB / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4417, allocations: 192 kB / 451.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006203/0.4479, allocations: 3.419 MB / 455.1 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.448, allocations: 33.7 kB / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1606/0.6087, allocations: 2.588 MB / 457.7 MB, free: 114.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.6091, allocations: 369.3 kB / 458.1 MB, free: 114.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.6094, allocations: 94.38 kB / 458.2 MB, free: 114.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.6096, allocations: 0.5078 MB / 458.7 MB, free: 114.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.6115, allocations: 1.185 MB / 459.9 MB, free: 113.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.6142, allocations: 4.545 MB / 464.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.6172, allocations: 2.287 MB / 466.7 MB, free: 108 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.188e-05/0.6173, allocations: 35.38 kB / 466.7 MB, free: 108 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006954/0.6243, allocations: 5.389 MB / 472.1 MB, free: 105.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.6244, allocations: 58.19 kB / 472.2 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.6245, allocations: 119.6 kB / 472.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.6246, allocations: 174.4 kB / 472.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.6273, allocations: 1.105 MB / 473.6 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/0.6274, allocations: 242.8 kB / 473.8 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.6308, allocations: 0.6851 MB / 474.5 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.6312, allocations: 319.5 kB / 474.8 MB, free: 104.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (597): * Single equations (assignments): 594 * 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.002145/0.6333, allocations: 1.677 MB / 476.5 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.6337, allocations: 276.2 kB / 476.7 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.6344, allocations: 466.9 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.6345, allocations: 12 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6345, allocations: 4 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.6345, allocations: 3.844 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.6385, allocations: 3.036 MB / 480.3 MB, free: 99.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6385, allocations: 4 kB / 480.3 MB, free: 99.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.6389, allocations: 99.81 kB / 480.4 MB, free: 99.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.639, allocations: 11.94 kB / 480.4 MB, free: 99.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.639, allocations: 20.91 kB / 480.4 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.639, allocations: 8.281 kB / 480.4 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.639, allocations: 8 kB / 480.4 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.6406, allocations: 2.004 MB / 482.4 MB, free: 97.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/0.6411, allocations: 413.3 kB / 482.8 MB, free: 96.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.6414, allocations: 17.14 kB / 482.8 MB, free: 96.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.6421, allocations: 35.97 kB / 482.9 MB, free: 96.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.6422, allocations: 52.98 kB / 482.9 MB, free: 96.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.6422, allocations: 28 kB / 482.9 MB, free: 96.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.6445, allocations: 2.169 MB / 485.1 MB, free: 94.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6445, allocations: 0 / 485.1 MB, free: 94.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003572/0.6481, allocations: 0.8213 MB / 485.9 MB, free: 93.67 MB / 382.1 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.0003137/0.6484, allocations: 147.9 kB / 486.1 MB, free: 93.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.6523, allocations: 2.754 MB / 488.8 MB, free: 90.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6523, allocations: 4 kB / 488.8 MB, free: 90.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.6528, allocations: 405.9 kB / 489.2 MB, free: 90.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6547, allocations: 352.6 kB / 489.6 MB, free: 90.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/0.6641, allocations: 8.352 MB / 497.9 MB, free: 81.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.6662, allocations: 2.68 MB / 0.4889 GB, free: 78.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003142/0.6693, allocations: 1.477 MB / 0.4903 GB, free: 77.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.6697, allocations: 183.4 kB / 0.4905 GB, free: 77.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6697, allocations: 0 / 0.4905 GB, free: 77.29 MB / 382.1 MB Notification: Performance of Templates: time 0.03904/0.7087, allocations: 20.87 MB / 0.5109 GB, free: 56.45 MB / 382.1 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)