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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001533/0.001533, allocations: 60.25 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.009804/0.2736, allocations: 9.025 MB / 334.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.2797, allocations: 2.66 MB / 337 MB, free: 8.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.281, allocations: 47.88 kB / 337 MB, free: 8.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.2845, allocations: 1.83 MB / 338.9 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.2883, allocations: 1.315 MB / 340.2 MB, free: 5.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.289, allocations: 207.6 kB / 340.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.2923, allocations: 2.367 MB / 342.8 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.2954, allocations: 2.122 MB / 344.9 MB, free: 272 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.2974, allocations: 1.016 MB / 345.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.3007, allocations: 2.337 MB / 348.2 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00067/0.3014, allocations: 188 kB / 348.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3028, allocations: 479.4 kB / 348.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.3043, allocations: 1.293 MB / 350.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.3068, allocations: 1.587 MB / 351.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006494/0.3133, allocations: 4.625 MB / 356.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3134, allocations: 0 / 356.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3134, allocations: 0 / 356.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001917/0.3136, allocations: 0 / 356.4 MB, free: 4.715 MB / 286.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.007978/0.3216, allocations: 3.629 MB / 360 MB, free: 1.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3216, allocations: 8.031 kB / 360 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.327, allocations: 1.661 MB / 361.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.3307, allocations: 1.549 MB / 363.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3308, allocations: 155.8 kB / 363.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.3312, allocations: 195.9 kB / 363.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/0.3404, allocations: 6.982 MB / 370.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/0.3405, allocations: 31.66 kB / 370.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.3408, allocations: 107.8 kB / 370.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3429, allocations: 1.555 MB / 372.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008711/0.3516, allocations: 5.493 MB / 377.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.3822, allocations: 27.22 MB / 405 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.3854, allocations: 1.634 MB / 406.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.3862, allocations: 0.51 MB / 407.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004478/0.3907, allocations: 2.679 MB / 409.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3907, allocations: 50.5 kB / 409.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/0.3907, allocations: 0 / 409.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003989/0.3947, allocations: 1.759 MB / 411.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3948, allocations: 213.6 kB / 411.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008057/0.4029, allocations: 3.673 MB / 415.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.403, allocations: 37.69 kB / 415.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003343/0.4064, allocations: 2.687 MB / 418.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006972/0.4071, allocations: 387.5 kB / 418.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/0.4095, allocations: 0.9597 MB / 419.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4097, allocations: 301.1 kB / 419.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.4129, allocations: 1.204 MB / 421 MB, free: 1.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006949/0.4199, allocations: 4.53 MB / 425.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.4312, allocations: 6.291 MB / 431.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/0.4314, allocations: 32 kB / 431.9 MB, free: 3.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01951/0.451, allocations: 5.438 MB / 437.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.4512, allocations: 59.94 kB / 437.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002652/0.4515, allocations: 124 kB / 437.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.4518, allocations: 156 kB / 437.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/0.4578, allocations: 1.084 MB / 438.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003367/0.4582, allocations: 235.6 kB / 439 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/0.4651, allocations: 0.6803 MB / 439.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/0.4663, allocations: 312 kB / 440 MB, free: 11.67 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.004962/0.4713, allocations: 1.715 MB / 441.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.4724, allocations: 300.1 kB / 442 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4745, allocations: 494.3 kB / 442.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.764e-05/0.4746, allocations: 24 kB / 442.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4747, allocations: 0 / 442.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.4747, allocations: 7.984 kB / 442.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.4869, allocations: 3.162 MB / 445.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.4869, allocations: 4 kB / 445.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4879, allocations: 99.88 kB / 445.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/0.488, allocations: 8 kB / 445.8 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.4881, allocations: 19.94 kB / 445.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-05/0.4881, allocations: 15.92 kB / 445.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.4882, allocations: 4 kB / 445.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.4927, allocations: 2.215 MB / 448 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/0.4942, allocations: 421 kB / 448.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007766/0.495, allocations: 23.84 kB / 448.4 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/0.4971, allocations: 31.97 kB / 448.5 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4973, allocations: 47.89 kB / 448.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.4975, allocations: 39.91 kB / 448.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.007859/0.5054, allocations: 2.333 MB / 450.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5054, allocations: 0 / 450.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.208/0.7134, allocations: 0.8013 MB / 451.7 MB, free: 108.8 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.0006229/0.7141, allocations: 142.6 kB / 451.8 MB, free: 108.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006868/0.721, allocations: 2.908 MB / 454.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.7211, allocations: 1.031 kB / 454.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.7217, allocations: 445.7 kB / 455.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.7243, allocations: 379.2 kB / 455.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.7352, allocations: 6.769 MB / 462.3 MB, free: 105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.7374, allocations: 2.685 MB / 465 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003405/0.7408, allocations: 1.49 MB / 466.5 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.7412, allocations: 198.7 kB / 466.7 MB, free: 103.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7412, allocations: 0 / 466.7 MB, free: 103.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03917/0.7804, allocations: 22.11 MB / 488.8 MB, free: 82.58 MB / 382.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)