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.005669/0.005669, allocations: 97.73 kB / 15.73 MB, free: 6.047 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.001236/0.001237, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.484/1.484, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001158/0.001158, allocations: 54.47 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09523, 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.01082/0.1061, allocations: 9.019 MB / 382.2 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006345/0.1125, allocations: 2.66 MB / 384.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.114, allocations: 47.88 kB / 384.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.1176, allocations: 1.834 MB / 386.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.1211, allocations: 1.331 MB / 388.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.1217, allocations: 223.6 kB / 388.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.1245, allocations: 2.379 MB / 390.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.1268, allocations: 2.121 MB / 392.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1281, allocations: 0.9963 MB / 393.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.1308, allocations: 2.341 MB / 396.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.1312, allocations: 188 kB / 396.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.1321, allocations: 495.4 kB / 396.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.1332, allocations: 1.309 MB / 398.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.1348, allocations: 1.591 MB / 399.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.1395, allocations: 4.877 MB / 404.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1395, allocations: 0 / 404.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1396, allocations: 0 / 404.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.486e-05/0.1397, allocations: 0 / 404.6 MB, free: 1.754 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.006941/0.1466, allocations: 3.737 MB / 408.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1467, allocations: 8.031 kB / 408.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.1524, allocations: 1.675 MB / 410 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.1566, allocations: 1.585 MB / 411.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.1567, allocations: 155.8 kB / 411.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1571, allocations: 195.9 kB / 411.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.1671, allocations: 6.99 MB / 418.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.089e-05/0.1672, allocations: 27.69 kB / 418.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.1675, allocations: 99.89 kB / 419 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002211/0.1697, allocations: 1.551 MB / 420.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.1812, allocations: 5.501 MB / 426.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.291/0.4722, allocations: 27.17 MB / 453.3 MB, free: 62.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.4755, allocations: 1.633 MB / 454.9 MB, free: 61.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.4763, allocations: 0.5019 MB / 455.4 MB, free: 61.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004589/0.4809, allocations: 2.677 MB / 458.1 MB, free: 60.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.4809, allocations: 52.11 kB / 458.1 MB, free: 60.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 4.008e-06/0.481, allocations: 0 / 458.1 MB, free: 60.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003975/0.4849, allocations: 1.77 MB / 459.9 MB, free: 60.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.485, allocations: 220.8 kB / 460.1 MB, free: 60.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.4909, allocations: 3.678 MB / 463.8 MB, free: 59.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.4911, allocations: 40.17 kB / 463.8 MB, free: 59.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4926, allocations: 2.796 MB / 466.6 MB, free: 57.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.493, allocations: 405.2 kB / 467 MB, free: 57.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.4941, allocations: 0.9573 MB / 468 MB, free: 56.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.4941, allocations: 306.6 kB / 468.3 MB, free: 56.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.4959, allocations: 1.207 MB / 469.5 MB, free: 56.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.4997, allocations: 4.535 MB / 474 MB, free: 51.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00494/0.5046, allocations: 6.294 MB / 480.3 MB, free: 45.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.956e-05/0.5047, allocations: 35 kB / 480.4 MB, free: 45.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007896/0.5126, allocations: 5.461 MB / 485.8 MB, free: 43.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.5127, allocations: 56.38 kB / 485.9 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.5128, allocations: 118.3 kB / 486 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.513, allocations: 156.5 kB / 486.1 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.5156, allocations: 1.097 MB / 487.2 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000142/0.5158, allocations: 231 kB / 487.5 MB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/0.5194, allocations: 0.6991 MB / 488.2 MB, free: 42.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/0.5198, allocations: 315.3 kB / 488.5 MB, free: 42.7 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.002184/0.522, allocations: 1.708 MB / 490.2 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.5223, allocations: 317.9 kB / 490.5 MB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.523, allocations: 0.4886 MB / 491 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.523, allocations: 23.98 kB / 491 MB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.523, allocations: 4 kB / 491 MB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5231, allocations: 3.656 kB / 491 MB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.5279, allocations: 3.155 MB / 494.2 MB, free: 37.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.528, allocations: 7.938 kB / 494.2 MB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.5284, allocations: 111.6 kB / 494.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.5284, allocations: 4 kB / 494.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.5285, allocations: 19.98 kB / 494.3 MB, free: 37.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.5285, allocations: 11.94 kB / 494.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5285, allocations: 4 kB / 494.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.5301, allocations: 2.224 MB / 496.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.5309, allocations: 446.7 kB / 497 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.5311, allocations: 23.47 kB / 497 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/0.5319, allocations: 32.03 kB / 497 MB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.532, allocations: 55.81 kB / 497.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.5321, allocations: 28 kB / 497.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.5344, allocations: 2.337 MB / 499.4 MB, free: 32.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5344, allocations: 0 / 499.4 MB, free: 32.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003493/0.5379, allocations: 0.8106 MB / 0.4885 GB, free: 31.61 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.0002511/0.5381, allocations: 150.6 kB / 0.4887 GB, free: 31.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003451/0.5416, allocations: 2.817 MB / 0.4914 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5416, allocations: 0 / 0.4914 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.5421, allocations: 442.9 kB / 0.4919 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.5441, allocations: 383.9 kB / 0.4922 GB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/0.5527, allocations: 6.785 MB / 0.4988 GB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.5546, allocations: 2.683 MB / 0.5015 GB, free: 18.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002701/0.5573, allocations: 1.486 MB / 0.5029 GB, free: 16.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.5577, allocations: 203.4 kB / 0.5031 GB, free: 16.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5577, allocations: 0 / 0.5031 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03821/0.596, allocations: 19.39 MB / 0.522 GB, free: 13.3 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)