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.0008531/0.0008532, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.0009956/0.0009956, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.407/1.407, allocations: 205.4 MB / 223.4 MB, free: 5.793 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.0007212/0.0007213, allocations: 15.98 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2524, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02764/0.2801, allocations: 30.3 MB / 358 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.2953, allocations: 6.292 MB / 364.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005367/0.3007, allocations: 135.7 kB / 364.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.3053, allocations: 1.551 MB / 366 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.3175, allocations: 4.556 MB / 370.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.3192, allocations: 211.7 kB / 370.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0224/0.3417, allocations: 17.47 MB / 388.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003832/0.3455, allocations: 2.425 MB / 390.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.3471, allocations: 0.8405 MB / 391.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.3493, allocations: 1.367 MB / 392.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004921/0.3498, allocations: 100 kB / 393 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.351, allocations: 491.2 kB / 393.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.3525, allocations: 1.274 MB / 394.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007652/0.3533, allocations: 0.6013 MB / 395.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.3567, allocations: 3.503 MB / 398.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3567, allocations: 3.938 kB / 398.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3567, allocations: 0 / 398.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001552/0.3569, allocations: 0 / 398.8 MB, free: 12.22 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.005653/0.3626, allocations: 2.857 MB / 401.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3626, allocations: 8.031 kB / 401.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.3675, allocations: 1.665 MB / 403.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.3704, allocations: 1.44 MB / 404.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3706, allocations: 151.8 kB / 404.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/0.3711, allocations: 199.9 kB / 405.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.3829, allocations: 6.979 MB / 412.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.3831, allocations: 27.75 kB / 412.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005358/0.3836, allocations: 95.89 kB / 412.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.3859, allocations: 1.566 MB / 413.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.3965, allocations: 5.454 MB / 419.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.4253, allocations: 27.17 MB / 446.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.4279, allocations: 1.588 MB / 448 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.4286, allocations: 472.9 kB / 448.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/0.4323, allocations: 2.575 MB / 451.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.4323, allocations: 46.5 kB / 451.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.737e-06/0.4323, allocations: 0 / 451.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003928/0.4363, allocations: 1.635 MB / 452.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4364, allocations: 195.9 kB / 452.9 MB, free: 4.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/0.4423, allocations: 3.416 MB / 456.4 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.4424, allocations: 41.7 kB / 456.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.176/0.6184, allocations: 2.585 MB / 459 MB, free: 114.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/0.6189, allocations: 363 kB / 459.3 MB, free: 114.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003702/0.6193, allocations: 95.25 kB / 459.4 MB, free: 114.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004134/0.6198, allocations: 0.504 MB / 459.9 MB, free: 114.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.622, allocations: 1.183 MB / 461.1 MB, free: 114 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.6252, allocations: 4.549 MB / 465.7 MB, free: 109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.6285, allocations: 2.286 MB / 467.9 MB, free: 108.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/0.6287, allocations: 35.31 kB / 468 MB, free: 108.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.007416/0.6361, allocations: 5.387 MB / 473.4 MB, free: 106 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.6362, allocations: 54.22 kB / 473.4 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.6364, allocations: 126.1 kB / 473.5 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.6365, allocations: 174.2 kB / 473.7 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.6391, allocations: 1.105 MB / 474.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.6392, allocations: 240.2 kB / 475.1 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.6419, allocations: 0.6949 MB / 475.7 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.6422, allocations: 321 kB / 476.1 MB, free: 104.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (597): * Single equations (assignments): 594 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001761/0.644, allocations: 1.676 MB / 477.7 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.6443, allocations: 268.4 kB / 478 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.645, allocations: 471.5 kB / 478.5 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.645, allocations: 17.2 kB / 478.5 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.645, allocations: 4 kB / 478.5 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.645, allocations: 3.844 kB / 478.5 MB, free: 102.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.6484, allocations: 3.026 MB / 481.5 MB, free: 99.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6485, allocations: 4.812 kB / 481.5 MB, free: 99.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.6488, allocations: 104.2 kB / 481.6 MB, free: 99.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6488, allocations: 12 kB / 481.6 MB, free: 99.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.6489, allocations: 19.98 kB / 481.6 MB, free: 99.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6489, allocations: 7.938 kB / 481.7 MB, free: 99.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6489, allocations: 7.781 kB / 481.7 MB, free: 99.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.6503, allocations: 2.002 MB / 483.7 MB, free: 97.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.6507, allocations: 421.1 kB / 484.1 MB, free: 96.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.6509, allocations: 22.64 kB / 484.1 MB, free: 96.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006855/0.6516, allocations: 39.95 kB / 484.1 MB, free: 96.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.6517, allocations: 47.91 kB / 484.2 MB, free: 96.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.6517, allocations: 24.78 kB / 484.2 MB, free: 96.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001989/0.6537, allocations: 2.169 MB / 486.4 MB, free: 94.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6537, allocations: 0 / 486.4 MB, free: 94.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003013/0.6568, allocations: 0.8134 MB / 487.2 MB, free: 93.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.6571, allocations: 160.2 kB / 487.3 MB, free: 93.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.6601, allocations: 2.752 MB / 490.1 MB, free: 90.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6601, allocations: 0 / 490.1 MB, free: 90.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.6605, allocations: 408.3 kB / 490.5 MB, free: 90.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.662, allocations: 351.9 kB / 490.8 MB, free: 90.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.67, allocations: 8.351 MB / 499.2 MB, free: 81.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.6718, allocations: 2.68 MB / 0.4901 GB, free: 79.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002793/0.6746, allocations: 1.469 MB / 0.4915 GB, free: 77.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.6749, allocations: 187.4 kB / 0.4917 GB, free: 77.39 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6749, allocations: 0 / 0.4917 GB, free: 77.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03243/0.7074, allocations: 20.86 MB / 0.5121 GB, free: 56.56 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)