Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001613/0.001613, allocations: 111.9 kB / 17.06 MB, free: 5.973 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.001765/0.001765, allocations: 200 kB / 18.01 MB, free: 5.055 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.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001632/0.001632, allocations: 51.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2087/0.3317, allocations: 9.029 MB / 383.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.3369, allocations: 2.663 MB / 386.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009968/0.3379, allocations: 49.22 kB / 386.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.3413, allocations: 1.822 MB / 388.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.3444, allocations: 1.315 MB / 389.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.345, allocations: 219.2 kB / 389.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.3484, allocations: 2.375 MB / 392 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.3513, allocations: 2.119 MB / 394.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.3534, allocations: 0.9956 MB / 395.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.3572, allocations: 2.345 MB / 397.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006553/0.3578, allocations: 187.8 kB / 397.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.3591, allocations: 492.9 kB / 398.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.3606, allocations: 1.316 MB / 399.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.3623, allocations: 1.584 MB / 401 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.3705, allocations: 4.852 MB / 405.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3706, allocations: 4 kB / 405.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3706, allocations: 0 / 405.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002165/0.3708, allocations: 1.156 kB / 405.8 MB, free: 13.51 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.009246/0.3801, allocations: 3.632 MB / 409.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3801, allocations: 11.09 kB / 409.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/0.3856, allocations: 1.655 MB / 411.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.3895, allocations: 1.573 MB / 412.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.3896, allocations: 158.2 kB / 412.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/0.39, allocations: 193.8 kB / 413.1 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009972/0.4, allocations: 6.986 MB / 420 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.577e-05/0.4001, allocations: 31.73 kB / 420.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.4004, allocations: 95.89 kB / 420.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.4026, allocations: 1.562 MB / 421.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009527/0.4121, allocations: 5.485 MB / 427.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03285/0.445, allocations: 27.13 MB / 454.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.4478, allocations: 1.643 MB / 456 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.4485, allocations: 0.4971 MB / 456.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004905/0.4535, allocations: 2.67 MB / 459.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4535, allocations: 50.55 kB / 459.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.4535, allocations: 0 / 459.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003714/0.4572, allocations: 1.761 MB / 461 MB, free: 7.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.4573, allocations: 221.7 kB / 461.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.4622, allocations: 3.665 MB / 464.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.4623, allocations: 33.7 kB / 464.9 MB, free: 3.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.4643, allocations: 2.683 MB / 467.6 MB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.4647, allocations: 391.5 kB / 467.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.4659, allocations: 0.9598 MB / 468.9 MB, free: 14.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.466, allocations: 301.1 kB / 469.2 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4677, allocations: 1.212 MB / 470.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003959/0.4716, allocations: 4.522 MB / 474.9 MB, free: 7.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006571/0.4782, allocations: 6.297 MB / 481.2 MB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-05/0.4784, allocations: 36 kB / 481.3 MB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008722/0.4871, allocations: 5.434 MB / 486.7 MB, free: 9.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.4872, allocations: 63.98 kB / 486.8 MB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.4873, allocations: 116 kB / 486.9 MB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.4875, allocations: 156.8 kB / 487 MB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.4903, allocations: 1.084 MB / 488.1 MB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001795/0.4905, allocations: 239 kB / 488.3 MB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/0.4945, allocations: 0.6725 MB / 489 MB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/0.4949, allocations: 316 kB / 489.3 MB, free: 7.164 MB / 414.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.002957/0.4979, allocations: 1.716 MB / 491 MB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/0.4985, allocations: 300 kB / 491.3 MB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.4994, allocations: 0.4904 MB / 491.8 MB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/0.4994, allocations: 20 kB / 491.8 MB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4995, allocations: 0 / 491.8 MB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4995, allocations: 7.984 kB / 491.9 MB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.5054, allocations: 3.154 MB / 495 MB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5054, allocations: 8.031 kB / 495 MB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.5059, allocations: 108.1 kB / 495.1 MB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.5059, allocations: 8 kB / 495.1 MB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.5059, allocations: 15.98 kB / 495.1 MB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.5059, allocations: 15.88 kB / 495.2 MB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.506, allocations: 7.938 kB / 495.2 MB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.5082, allocations: 2.215 MB / 497.4 MB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009071/0.5091, allocations: 428.9 kB / 497.8 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.5093, allocations: 12 kB / 497.8 MB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.5102, allocations: 35.91 kB / 497.8 MB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5103, allocations: 47.95 kB / 497.9 MB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.5103, allocations: 35.97 kB / 497.9 MB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003069/0.5134, allocations: 2.341 MB / 0.4885 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.019e-06/0.5134, allocations: 0 / 0.4885 GB, free: 12.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004057/0.5175, allocations: 0.8137 MB / 0.4893 GB, free: 11.23 MB / 430.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.0003374/0.5178, allocations: 147 kB / 0.4895 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.5225, allocations: 2.813 MB / 0.4922 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.5225, allocations: 4 kB / 0.4922 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.5231, allocations: 435.6 kB / 0.4926 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.5254, allocations: 378.3 kB / 0.493 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.5388, allocations: 6.676 MB / 0.4995 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002771/0.5416, allocations: 2.691 MB / 0.5022 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003296/0.5449, allocations: 1.494 MB / 0.5036 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.5453, allocations: 195.4 kB / 0.5038 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5453, allocations: 4 kB / 0.5038 GB, free: 12.33 MB / 446.1 MB Notification: Performance of Templates: time 0.05502/0.6004, allocations: 19 MB / 0.5224 GB, free: 9.301 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)