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.00105/0.00105, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001198/0.001198, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.448/1.448, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001227/0.001227, allocations: 47.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08525/0.08649, allocations: 46.63 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03033/0.1168, allocations: 33.49 MB / 359.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.1317, allocations: 6.606 MB / 366.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.1369, allocations: 139.7 kB / 366.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.1407, allocations: 1.808 MB / 368 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.1438, allocations: 1.238 MB / 369.2 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1444, allocations: 207.8 kB / 369.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.1491, allocations: 4.262 MB / 373.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.1517, allocations: 2.122 MB / 375.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.153, allocations: 0.891 MB / 376.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.1548, allocations: 1.674 MB / 378.4 MB, free: 200 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.1552, allocations: 148 kB / 378.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1875/0.3427, allocations: 456.8 kB / 379 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002361/0.3451, allocations: 1.282 MB / 380.3 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004517/0.3497, allocations: 1.568 MB / 381.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008958/0.3587, allocations: 4.529 MB / 386.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3587, allocations: 1.156 kB / 386.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3587, allocations: 0 / 386.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003625/0.3591, allocations: 0 / 386.4 MB, free: 12.3 MB / 318.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.01619/0.3753, allocations: 3.637 MB / 390 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3754, allocations: 8.844 kB / 390 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006173/0.3816, allocations: 1.644 MB / 391.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.3858, allocations: 1.553 MB / 393.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.386, allocations: 150.3 kB / 393.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.3871, allocations: 211.7 kB / 393.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.3994, allocations: 6.97 MB / 400.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.3995, allocations: 30.41 kB / 400.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006828/0.4002, allocations: 102.2 kB / 400.7 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.4024, allocations: 1.556 MB / 402.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4129, allocations: 5.497 MB / 407.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04053/0.4534, allocations: 27.26 MB / 435 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.4568, allocations: 1.577 MB / 436.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.4576, allocations: 472.4 kB / 437 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005095/0.4628, allocations: 2.584 MB / 439.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.4628, allocations: 49.45 kB / 439.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/0.4629, allocations: 0 / 439.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004272/0.4671, allocations: 1.662 MB / 441.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.4673, allocations: 191 kB / 441.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008559/0.4758, allocations: 3.706 MB / 445.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.4761, allocations: 37.7 kB / 445.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002785/0.4789, allocations: 2.717 MB / 448 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/0.4795, allocations: 363.6 kB / 448.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002502/0.482, allocations: 0.9599 MB / 449.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4822, allocations: 309.1 kB / 449.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.4845, allocations: 1.196 MB / 450.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003992/0.4885, allocations: 4.565 MB / 455.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/0.4956, allocations: 6.317 MB / 461.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-05/0.4957, allocations: 36 kB / 461.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01031/0.506, allocations: 5.445 MB / 467.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.5061, allocations: 56 kB / 467.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.5062, allocations: 124 kB / 467.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.5064, allocations: 156 kB / 467.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.5094, allocations: 1.1 MB / 468.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001579/0.5095, allocations: 237.1 kB / 468.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.513, allocations: 0.6923 MB / 469.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/0.5134, allocations: 316 kB / 469.8 MB, free: 8.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002988/0.5164, allocations: 1.717 MB / 471.5 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/0.517, allocations: 293.3 kB / 471.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.518, allocations: 0.4895 MB / 472.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.518, allocations: 12 kB / 472.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.518, allocations: 11.97 kB / 472.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.518, allocations: 3.938 kB / 472.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/0.5233, allocations: 3.127 MB / 475.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5234, allocations: 4.281 kB / 475.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.5238, allocations: 109.3 kB / 475.6 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.5238, allocations: 4 kB / 475.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.5239, allocations: 18.88 kB / 475.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.5239, allocations: 10.53 kB / 475.6 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5239, allocations: 5.875 kB / 475.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.526, allocations: 2.031 MB / 477.6 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.5268, allocations: 421 kB / 478 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.527, allocations: 19.91 kB / 478.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.5278, allocations: 35.64 kB / 478.1 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.5279, allocations: 48.83 kB / 478.1 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.528, allocations: 31.98 kB / 478.2 MB, free: 15.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003356/0.5314, allocations: 2.357 MB / 480.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5314, allocations: 0 / 480.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003673/0.535, allocations: 0.8061 MB / 481.3 MB, free: 12.54 MB / 398.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 (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.0003259/0.5354, allocations: 145 kB / 481.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.5395, allocations: 2.772 MB / 484.2 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5395, allocations: 0 / 484.2 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.5401, allocations: 404.3 kB / 484.6 MB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.542, allocations: 364 kB / 485 MB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5535, allocations: 8.203 MB / 493.2 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.5561, allocations: 2.687 MB / 495.9 MB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003489/0.5596, allocations: 1.506 MB / 497.4 MB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.56, allocations: 195.4 kB / 497.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.56, allocations: 0 / 497.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.04377/0.6038, allocations: 21.4 MB / 0.5068 GB, free: 7.086 MB / 430.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)