Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009105/0.0009104, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0004384/0.0004384, allocations: 8 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02812/0.2714, allocations: 30.3 MB / 356.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.2874, allocations: 6.284 MB / 363.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005969/0.2934, allocations: 143.7 kB / 363.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005013/0.2984, allocations: 1.547 MB / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.3126, allocations: 4.56 MB / 369.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3146, allocations: 215.7 kB / 369.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02397/0.3386, allocations: 17.47 MB / 387 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004396/0.343, allocations: 2.429 MB / 389.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.3449, allocations: 0.8405 MB / 390.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.3471, allocations: 1.363 MB / 391.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.3475, allocations: 96 kB / 391.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.3487, allocations: 495.2 kB / 392.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.35, allocations: 1.27 MB / 393.5 MB, free: 276 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.3506, allocations: 0.6052 MB / 394.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.3538, allocations: 3.503 MB / 397.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3538, allocations: 4 kB / 397.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3538, allocations: 0 / 397.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.102e-05/0.3539, allocations: 0 / 397.6 MB, free: 12.14 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.004674/0.3586, allocations: 2.85 MB / 400.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3587, allocations: 15.97 kB / 400.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004826/0.3635, allocations: 1.665 MB / 402.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.3664, allocations: 1.44 MB / 403.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.3666, allocations: 147.8 kB / 403.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.3669, allocations: 199.8 kB / 403.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.3784, allocations: 6.971 MB / 410.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.3785, allocations: 35.67 kB / 410.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.3788, allocations: 103.9 kB / 411 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/0.3812, allocations: 1.555 MB / 412.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.3916, allocations: 5.454 MB / 418 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.4245, allocations: 27.18 MB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.4274, allocations: 1.584 MB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.4282, allocations: 468.9 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004111/0.4323, allocations: 2.583 MB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4324, allocations: 42.5 kB / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.246e-06/0.4324, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003894/0.4363, allocations: 1.639 MB / 451.5 MB, free: 4.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.4364, allocations: 191.9 kB / 451.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/0.4423, allocations: 3.419 MB / 455.1 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.4425, allocations: 33.7 kB / 455.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1756/0.6181, allocations: 2.59 MB / 457.7 MB, free: 114.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.6186, allocations: 363.5 kB / 458.1 MB, free: 114.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.6188, allocations: 94.38 kB / 458.2 MB, free: 114.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.6191, allocations: 0.5065 MB / 458.7 MB, free: 114.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.6212, allocations: 1.18 MB / 459.9 MB, free: 113.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/0.6241, allocations: 4.549 MB / 464.4 MB, free: 109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/0.6271, allocations: 2.287 MB / 466.7 MB, free: 108.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/0.6272, allocations: 35.16 kB / 466.7 MB, free: 108.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006921/0.6341, allocations: 5.391 MB / 472.1 MB, free: 106 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.6342, allocations: 55.91 kB / 472.2 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.6343, allocations: 122.3 kB / 472.3 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.6345, allocations: 176.5 kB / 472.5 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.6372, allocations: 1.106 MB / 473.6 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.6373, allocations: 237 kB / 473.8 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/0.6406, allocations: 0.6953 MB / 474.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/0.641, allocations: 311.8 kB / 474.8 MB, free: 104.6 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.002315/0.6433, allocations: 1.679 MB / 476.5 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.6438, allocations: 272.3 kB / 476.7 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.6445, allocations: 477.8 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.6445, allocations: 11.95 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.6446, allocations: 4 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.6446, allocations: 3.891 kB / 477.2 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.6488, allocations: 3.031 MB / 480.3 MB, free: 99.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6488, allocations: 4.812 kB / 480.3 MB, free: 99.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.6493, allocations: 103.9 kB / 480.4 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.6493, allocations: 8.281 kB / 480.4 MB, free: 99.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6493, allocations: 17.02 kB / 480.4 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.6494, allocations: 7.938 kB / 480.4 MB, free: 99.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6494, allocations: 4 kB / 480.4 MB, free: 99.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.6511, allocations: 2.012 MB / 482.4 MB, free: 97.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.6517, allocations: 413.2 kB / 482.8 MB, free: 96.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.6519, allocations: 21.41 kB / 482.8 MB, free: 96.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.6526, allocations: 39.44 kB / 482.9 MB, free: 96.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.6527, allocations: 43.97 kB / 482.9 MB, free: 96.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.6528, allocations: 25.25 kB / 482.9 MB, free: 96.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.6551, allocations: 2.173 MB / 485.1 MB, free: 94.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6551, allocations: 0 / 485.1 MB, free: 94.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003443/0.6586, allocations: 0.8173 MB / 485.9 MB, free: 93.66 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.0003065/0.6589, allocations: 155.2 kB / 486.1 MB, free: 93.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.6624, allocations: 2.757 MB / 488.8 MB, free: 90.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6624, allocations: 0 / 488.8 MB, free: 90.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.6629, allocations: 404.8 kB / 489.2 MB, free: 90.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6646, allocations: 351.8 kB / 489.6 MB, free: 90.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/0.6741, allocations: 8.351 MB / 497.9 MB, free: 81.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.6762, allocations: 2.68 MB / 0.4889 GB, free: 78.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003199/0.6794, allocations: 1.473 MB / 0.4903 GB, free: 77.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.6798, allocations: 183.4 kB / 0.4905 GB, free: 77.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6798, allocations: 0 / 0.4905 GB, free: 77.28 MB / 382.1 MB Notification: Performance of Templates: time 0.03374/0.7135, allocations: 20.87 MB / 0.5109 GB, free: 56.45 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)