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.0017/0.0017, allocations: 104.6 kB / 16.92 MB, free: 6.145 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.001866/0.001866, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.447/1.447, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001334/0.001334, allocations: 51.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 46.62 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01057/0.1158, allocations: 9.023 MB / 335.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1223, allocations: 2.672 MB / 338.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1237, allocations: 47.88 kB / 338.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.1275, allocations: 1.822 MB / 340.2 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.1317, allocations: 1.315 MB / 341.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.1324, allocations: 211.7 kB / 341.7 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.1362, allocations: 2.375 MB / 344.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.139, allocations: 2.114 MB / 346.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.1407, allocations: 1.02 MB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.1438, allocations: 2.334 MB / 349.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005861/0.1444, allocations: 188 kB / 349.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1456, allocations: 487.4 kB / 350.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.1472, allocations: 1.293 MB / 351.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002058/0.1493, allocations: 1.587 MB / 353.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006025/0.1553, allocations: 4.617 MB / 357.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1554, allocations: 0 / 357.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1554, allocations: 0 / 357.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.1555, allocations: 7.875 kB / 357.7 MB, free: 5.199 MB / 302.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.006859/0.1624, allocations: 3.622 MB / 361.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1625, allocations: 8.031 kB / 361.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005414/0.1679, allocations: 1.657 MB / 363 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.1712, allocations: 1.557 MB / 364.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.1714, allocations: 151.8 kB / 364.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.1718, allocations: 195.9 kB / 364.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.1833, allocations: 6.986 MB / 371.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.688e-05/0.1834, allocations: 27.75 kB / 371.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.1837, allocations: 99.83 kB / 372 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.1864, allocations: 1.555 MB / 373.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1941/0.3805, allocations: 5.487 MB / 379 MB, free: 47.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/0.4149, allocations: 27.23 MB / 406.3 MB, free: 27.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.4177, allocations: 1.641 MB / 407.9 MB, free: 26.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.4184, allocations: 0.4935 MB / 408.4 MB, free: 26.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003797/0.4223, allocations: 2.686 MB / 411.1 MB, free: 24.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4223, allocations: 46.38 kB / 411.1 MB, free: 24.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=89): time 2.474e-06/0.4223, allocations: 0 / 411.1 MB, free: 24.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=89): time 0.003412/0.4257, allocations: 1.766 MB / 412.9 MB, free: 23.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4258, allocations: 213.4 kB / 413.1 MB, free: 23.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.43, allocations: 3.666 MB / 416.8 MB, free: 21.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.4301, allocations: 33.7 kB / 416.8 MB, free: 21.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.4313, allocations: 2.686 MB / 419.5 MB, free: 18.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.4316, allocations: 395.3 kB / 419.9 MB, free: 18.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009128/0.4325, allocations: 0.9538 MB / 420.8 MB, free: 17.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.4326, allocations: 309.1 kB / 421.1 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.434, allocations: 1.205 MB / 422.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002584/0.4366, allocations: 4.533 MB / 426.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.441, allocations: 6.293 MB / 433.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.345e-05/0.4411, allocations: 32 kB / 433.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00852/0.4496, allocations: 5.432 MB / 438.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.4497, allocations: 59.98 kB / 438.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.4498, allocations: 120 kB / 438.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.45, allocations: 160 kB / 439 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.4528, allocations: 1.084 MB / 440.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001604/0.453, allocations: 231.1 kB / 440.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/0.4562, allocations: 0.679 MB / 441 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.4566, allocations: 316 kB / 441.3 MB, free: 10.19 MB / 334.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.002449/0.4591, allocations: 1.714 MB / 443 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.4596, allocations: 304 kB / 443.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.4605, allocations: 0.4891 MB / 443.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/0.4605, allocations: 23.94 kB / 443.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.4606, allocations: 6.625 kB / 443.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4606, allocations: 7.922 kB / 443.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.4659, allocations: 3.15 MB / 447 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.537e-06/0.4659, allocations: 4 kB / 447 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.4664, allocations: 103.9 kB / 447.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4664, allocations: 8 kB / 447.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.4665, allocations: 12 kB / 447.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.4665, allocations: 11.92 kB / 447.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4665, allocations: 4.281 kB / 447.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.469, allocations: 2.214 MB / 449.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.4698, allocations: 440.9 kB / 449.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4701, allocations: 26.66 kB / 449.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/0.471, allocations: 28.25 kB / 449.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4711, allocations: 43.89 kB / 449.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.4712, allocations: 31.98 kB / 449.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004182/0.4754, allocations: 2.341 MB / 452.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4754, allocations: 3.938 kB / 452.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004419/0.4798, allocations: 0.8026 MB / 453 MB, free: 14.31 MB / 350.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.0004189/0.4803, allocations: 144.5 kB / 453.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00479/0.4851, allocations: 2.908 MB / 456.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.4851, allocations: 0 / 456.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.4857, allocations: 443.7 kB / 456.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.4879, allocations: 391.8 kB / 456.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4982, allocations: 6.752 MB / 463.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.501, allocations: 2.683 MB / 466.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.003544/0.5046, allocations: 1.49 MB / 467.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.505, allocations: 199.4 kB / 468 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.505, allocations: 0 / 468 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.05494/0.56, allocations: 22.12 MB / 490.1 MB, free: 9.133 MB / 382.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)