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.009068/0.009068, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001856/0.001856, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001191/0.001191, allocations: 50.2 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01207/0.1175, allocations: 9.019 MB / 382.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.1239, allocations: 2.664 MB / 384.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1254, allocations: 47.88 kB / 384.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.1294, allocations: 1.83 MB / 386.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.1332, allocations: 1.311 MB / 388.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.134, allocations: 215.7 kB / 388.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003695/0.1377, allocations: 2.371 MB / 390.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.1408, allocations: 2.11 MB / 392.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.1426, allocations: 1.02 MB / 393.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.1458, allocations: 2.334 MB / 396.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006517/0.1465, allocations: 188 kB / 396.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.1478, allocations: 491.3 kB / 396.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.1493, allocations: 1.289 MB / 398.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.1517, allocations: 1.587 MB / 399.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.1578, allocations: 4.865 MB / 404.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1579, allocations: 0 / 404.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1579, allocations: 0 / 404.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000221/0.1581, allocations: 0 / 404.5 MB, free: 1.805 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.007173/0.1653, allocations: 3.737 MB / 408.3 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1653, allocations: 12.03 kB / 408.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.1706, allocations: 1.667 MB / 409.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.1738, allocations: 1.589 MB / 411.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1739, allocations: 155.8 kB / 411.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.1744, allocations: 199.8 kB / 411.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.1856, allocations: 6.986 MB / 418.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.1858, allocations: 35.67 kB / 418.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.1861, allocations: 99.89 kB / 419 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00233/0.1884, allocations: 1.551 MB / 420.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.1992, allocations: 5.497 MB / 426 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.4282, allocations: 27.17 MB / 453.2 MB, free: 62.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.4316, allocations: 1.635 MB / 454.8 MB, free: 61.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.4324, allocations: 0.4977 MB / 455.3 MB, free: 61.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004395/0.4369, allocations: 2.681 MB / 458 MB, free: 60.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4369, allocations: 53.08 kB / 458.1 MB, free: 60.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 4.188e-06/0.4369, allocations: 0 / 458.1 MB, free: 60.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004244/0.4412, allocations: 1.774 MB / 459.8 MB, free: 60.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.4413, allocations: 217.7 kB / 460.1 MB, free: 60.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/0.4477, allocations: 3.672 MB / 463.7 MB, free: 59.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4478, allocations: 46.31 kB / 463.8 MB, free: 59.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.4493, allocations: 2.796 MB / 466.6 MB, free: 57.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.4497, allocations: 406.1 kB / 467 MB, free: 57.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.4509, allocations: 0.9636 MB / 467.9 MB, free: 56.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.451, allocations: 304.9 kB / 468.2 MB, free: 56.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.4528, allocations: 1.207 MB / 469.4 MB, free: 56.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.4555, allocations: 4.535 MB / 474 MB, free: 51.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/0.4603, allocations: 6.293 MB / 480.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.519e-05/0.4604, allocations: 34.31 kB / 480.3 MB, free: 45.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00679/0.4672, allocations: 5.449 MB / 485.7 MB, free: 43.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.4672, allocations: 57.88 kB / 485.8 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.4674, allocations: 117.2 kB / 485.9 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.4675, allocations: 157.1 kB / 486.1 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.47, allocations: 1.087 MB / 487.2 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.4701, allocations: 236 kB / 487.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/0.4731, allocations: 0.7036 MB / 488.1 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/0.4734, allocations: 317.3 kB / 488.4 MB, free: 42.71 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.001935/0.4754, allocations: 1.711 MB / 490.1 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.4757, allocations: 317.8 kB / 490.4 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.4765, allocations: 498.2 kB / 490.9 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/0.4765, allocations: 22.03 kB / 490.9 MB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4765, allocations: 0 / 490.9 MB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4765, allocations: 7.984 kB / 490.9 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.481, allocations: 3.158 MB / 494.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4811, allocations: 4 kB / 494.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.4817, allocations: 115.3 kB / 494.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.4818, allocations: 4 kB / 494.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.4818, allocations: 12 kB / 494.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.4819, allocations: 8 kB / 494.2 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4819, allocations: 4 kB / 494.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.4841, allocations: 2.243 MB / 496.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.4847, allocations: 442.7 kB / 496.9 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4849, allocations: 23.94 kB / 496.9 MB, free: 34.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.4858, allocations: 27.97 kB / 497 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4859, allocations: 55.89 kB / 497 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.486, allocations: 31.91 kB / 497.1 MB, free: 34.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00284/0.4888, allocations: 2.337 MB / 499.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4888, allocations: 0 / 499.4 MB, free: 32.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003706/0.4925, allocations: 0.8148 MB / 0.4885 GB, free: 31.67 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.0002758/0.4928, allocations: 143.9 kB / 0.4886 GB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.4962, allocations: 2.813 MB / 0.4914 GB, free: 28.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4962, allocations: 4 kB / 0.4914 GB, free: 28.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.4966, allocations: 437.3 kB / 0.4918 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.4986, allocations: 384 kB / 0.4922 GB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.5074, allocations: 6.797 MB / 0.4988 GB, free: 21.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.5099, allocations: 2.688 MB / 0.5014 GB, free: 18.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002666/0.5126, allocations: 1.483 MB / 0.5029 GB, free: 16.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.513, allocations: 199.4 kB / 0.5031 GB, free: 16.7 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.513, allocations: 4 kB / 0.5031 GB, free: 16.7 MB / 382.1 MB Notification: Performance of Templates: time 0.03563/0.5486, allocations: 19.38 MB / 0.522 GB, free: 13.37 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)