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.009571/0.009571, allocations: 101 kB / 15.73 MB, free: 6.051 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.001928/0.001928, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.001243/0.001243, allocations: 51.42 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.098, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01015/0.1082, allocations: 9.007 MB / 382.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006149/0.1144, allocations: 2.66 MB / 384.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.1157, allocations: 47.88 kB / 384.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.1193, allocations: 1.834 MB / 386.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.1225, allocations: 1.307 MB / 388.1 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.1231, allocations: 215.7 kB / 388.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.1266, allocations: 2.379 MB / 390.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.1294, allocations: 2.125 MB / 392.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1312, allocations: 1.012 MB / 393.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.1343, allocations: 2.33 MB / 396.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006684/0.135, allocations: 188 kB / 396.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1361, allocations: 483.4 kB / 396.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.1372, allocations: 1.293 MB / 398.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.1387, allocations: 1.591 MB / 399.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.1434, allocations: 4.841 MB / 404.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1434, allocations: 0 / 404.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1434, allocations: 0 / 404.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.1435, allocations: 0 / 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.00544/0.149, allocations: 3.629 MB / 408.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.149, allocations: 12.03 kB / 408.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.154, allocations: 1.649 MB / 409.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.1569, allocations: 1.58 MB / 411.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.157, allocations: 155.8 kB / 411.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.1574, allocations: 187.9 kB / 411.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009254/0.1667, allocations: 6.986 MB / 418.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.1668, allocations: 27.75 kB / 418.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.167, allocations: 103.8 kB / 418.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/0.1693, allocations: 1.559 MB / 420.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/0.1787, allocations: 5.497 MB / 425.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2924/0.4711, allocations: 27.12 MB / 453 MB, free: 62.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.4745, allocations: 1.638 MB / 454.6 MB, free: 61.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008393/0.4754, allocations: 0.4996 MB / 455.1 MB, free: 61.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004606/0.48, allocations: 2.672 MB / 457.8 MB, free: 60.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.48, allocations: 45.53 kB / 457.8 MB, free: 60.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.677e-06/0.4801, allocations: 0 / 457.8 MB, free: 60.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004335/0.4844, allocations: 1.755 MB / 459.6 MB, free: 60.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4845, allocations: 223.7 kB / 459.8 MB, free: 60.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005977/0.4905, allocations: 3.664 MB / 463.5 MB, free: 59.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.4906, allocations: 40.05 kB / 463.5 MB, free: 59.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.4922, allocations: 2.688 MB / 466.2 MB, free: 57.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.4926, allocations: 387.1 kB / 466.6 MB, free: 57.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.4937, allocations: 0.9602 MB / 467.5 MB, free: 56.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.4938, allocations: 308.9 kB / 467.8 MB, free: 56.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.4954, allocations: 1.199 MB / 469 MB, free: 56.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.4985, allocations: 4.536 MB / 473.6 MB, free: 51.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.5033, allocations: 6.297 MB / 479.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-05/0.5034, allocations: 37.19 kB / 479.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007274/0.5107, allocations: 5.436 MB / 485.4 MB, free: 43.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.5108, allocations: 56.19 kB / 485.4 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.106e-05/0.5109, allocations: 120.6 kB / 485.5 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.511, allocations: 155.2 kB / 485.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.5133, allocations: 1.089 MB / 486.8 MB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001124/0.5135, allocations: 235.5 kB / 487 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/0.5165, allocations: 0.6777 MB / 487.7 MB, free: 42.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.5168, allocations: 312.8 kB / 488 MB, free: 42.55 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.002132/0.519, allocations: 1.721 MB / 489.7 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.5194, allocations: 297.3 kB / 490 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.5201, allocations: 497.6 kB / 490.5 MB, free: 41.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-05/0.5202, allocations: 20 kB / 490.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.5202, allocations: 4 kB / 490.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.5202, allocations: 7.641 kB / 490.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.5247, allocations: 3.155 MB / 493.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5247, allocations: 4 kB / 493.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.5251, allocations: 111.8 kB / 493.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5251, allocations: 4 kB / 493.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.5252, allocations: 20 kB / 493.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.5252, allocations: 4 kB / 493.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5252, allocations: 7.938 kB / 493.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5268, allocations: 2.218 MB / 496 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.5276, allocations: 424.9 kB / 496.4 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.5278, allocations: 27.58 kB / 496.5 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.5286, allocations: 27.97 kB / 496.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.5287, allocations: 51.89 kB / 496.5 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5287, allocations: 28 kB / 496.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5311, allocations: 2.337 MB / 498.9 MB, free: 32.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5311, allocations: 0 / 498.9 MB, free: 32.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003665/0.5348, allocations: 0.8082 MB / 499.7 MB, free: 31.77 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.0002912/0.5351, allocations: 150.4 kB / 499.9 MB, free: 31.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003747/0.5388, allocations: 2.815 MB / 0.4909 GB, free: 28.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5389, allocations: 0 / 0.4909 GB, free: 28.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.5393, allocations: 439.7 kB / 0.4913 GB, free: 28.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.5414, allocations: 385.3 kB / 0.4917 GB, free: 28.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.5498, allocations: 6.664 MB / 0.4982 GB, free: 21.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.5517, allocations: 2.68 MB / 0.5008 GB, free: 18.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002509/0.5542, allocations: 1.491 MB / 0.5023 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.5546, allocations: 199.4 kB / 0.5025 GB, free: 16.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5546, allocations: 0 / 0.5025 GB, free: 16.94 MB / 382.1 MB Notification: Performance of Templates: time 0.03596/0.5906, allocations: 19.41 MB / 0.5214 GB, free: 13.6 MB / 398.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)