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.008134/0.008134, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001369/0.001369, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001261/0.001261, allocations: 58.34 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0182/0.1302, allocations: 9.03 MB / 382.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009518/0.1398, allocations: 2.66 MB / 384.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.1416, allocations: 47.88 kB / 384.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.1476, allocations: 1.83 MB / 386.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005531/0.1532, allocations: 1.315 MB / 388.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.1542, allocations: 215.6 kB / 388.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.1594, allocations: 2.367 MB / 390.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004054/0.1634, allocations: 2.121 MB / 392.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.166, allocations: 1.012 MB / 393.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005365/0.1714, allocations: 2.33 MB / 396.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008043/0.1722, allocations: 188 kB / 396.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.1739, allocations: 487.4 kB / 396.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.1759, allocations: 1.289 MB / 398.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.1784, allocations: 1.595 MB / 399.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008068/0.1865, allocations: 4.841 MB / 404.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1865, allocations: 0 / 404.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1865, allocations: 0 / 404.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001466/0.1867, allocations: 4 kB / 404.5 MB, free: 1.84 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.01138/0.1981, allocations: 3.622 MB / 408.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1982, allocations: 12.03 kB / 408.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.2089, allocations: 1.649 MB / 409.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/0.2155, allocations: 1.588 MB / 411.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.2157, allocations: 151.8 kB / 411.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009663/0.2167, allocations: 191.9 kB / 411.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.2355, allocations: 6.986 MB / 418.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.2357, allocations: 31.75 kB / 418.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006175/0.2364, allocations: 103.8 kB / 418.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/0.2407, allocations: 1.551 MB / 420.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.2583, allocations: 5.497 MB / 425.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2492/0.5075, allocations: 27.13 MB / 453 MB, free: 62.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/0.5107, allocations: 1.629 MB / 454.6 MB, free: 61.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.5115, allocations: 0.5021 MB / 455.1 MB, free: 61.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004185/0.5157, allocations: 2.667 MB / 457.8 MB, free: 60.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.5158, allocations: 48.58 kB / 457.8 MB, free: 60.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.066e-06/0.5158, allocations: 1.375 kB / 457.8 MB, free: 60.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003888/0.5197, allocations: 1.752 MB / 459.6 MB, free: 60.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.5198, allocations: 224.4 kB / 459.8 MB, free: 60.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0056/0.5254, allocations: 3.667 MB / 463.5 MB, free: 59.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/0.5255, allocations: 35.95 kB / 463.5 MB, free: 59.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.5268, allocations: 2.69 MB / 466.2 MB, free: 57.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.5271, allocations: 386.3 kB / 466.6 MB, free: 57.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.5281, allocations: 0.9565 MB / 467.5 MB, free: 56.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.5282, allocations: 307.9 kB / 467.8 MB, free: 56.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.5298, allocations: 1.208 MB / 469.1 MB, free: 56.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/0.5328, allocations: 4.532 MB / 473.6 MB, free: 51.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/0.5376, allocations: 6.289 MB / 479.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.744e-05/0.5377, allocations: 37.81 kB / 479.9 MB, free: 45.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007852/0.5455, allocations: 5.443 MB / 485.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.5456, allocations: 54.88 kB / 485.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.5458, allocations: 118.4 kB / 485.5 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.5459, allocations: 156.3 kB / 485.7 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.5484, allocations: 1.09 MB / 486.8 MB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.5485, allocations: 230.9 kB / 487 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.5519, allocations: 0.6847 MB / 487.7 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.5522, allocations: 312.6 kB / 488 MB, free: 42.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00226/0.5545, allocations: 1.715 MB / 489.7 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.555, allocations: 297.2 kB / 490 MB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.5558, allocations: 0.4885 MB / 490.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.5558, allocations: 20 kB / 490.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5558, allocations: 4 kB / 490.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5559, allocations: 3.984 kB / 490.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.5606, allocations: 3.144 MB / 493.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5606, allocations: 4 kB / 493.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.561, allocations: 111.8 kB / 493.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.5611, allocations: 4 kB / 493.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.5611, allocations: 21.16 kB / 493.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.5611, allocations: 15.17 kB / 493.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5612, allocations: 7.938 kB / 493.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.5629, allocations: 2.218 MB / 496 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.5637, allocations: 428.8 kB / 496.4 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.564, allocations: 16 kB / 496.5 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.565, allocations: 35.09 kB / 496.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.5651, allocations: 47.89 kB / 496.5 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.5652, allocations: 35.98 kB / 496.6 MB, free: 34.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002959/0.5681, allocations: 2.333 MB / 498.9 MB, free: 32.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5681, allocations: 0 / 498.9 MB, free: 32.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004261/0.5724, allocations: 0.8167 MB / 499.7 MB, free: 31.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00033/0.5728, allocations: 146.8 kB / 499.9 MB, free: 31.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.5767, allocations: 2.815 MB / 0.4909 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5767, allocations: 0.8125 kB / 0.4909 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.5772, allocations: 439.8 kB / 0.4913 GB, free: 28.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.5795, allocations: 382.7 kB / 0.4917 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5903, allocations: 6.667 MB / 0.4982 GB, free: 21.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.5925, allocations: 2.683 MB / 0.5008 GB, free: 18.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002913/0.5954, allocations: 1.488 MB / 0.5023 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.5958, allocations: 195.4 kB / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5958, allocations: 0 / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of Templates: time 0.03994/0.6358, allocations: 19.41 MB / 0.5214 GB, free: 13.58 MB / 398.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)