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.0009974/0.0009976, allocations: 93.84 kB / 16.65 MB, free: 6.535 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.001219/0.00122, allocations: 173.7 kB / 17.56 MB, free: 6.184 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.409/1.409, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004901/0.0004903, allocations: 16 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.09987, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02851/0.1284, allocations: 32.53 MB / 360.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.1445, allocations: 6.568 MB / 367.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005774/0.1503, allocations: 139.6 kB / 367.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1517, allocations: 342.4 kB / 367.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.1549, allocations: 1.246 MB / 369.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1554, allocations: 203.7 kB / 369.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005473/0.1609, allocations: 4.266 MB / 373.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/0.1649, allocations: 2.739 MB / 376.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1662, allocations: 0.7622 MB / 377.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.1682, allocations: 1.522 MB / 378.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.1686, allocations: 96 kB / 378.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.1694, allocations: 403.3 kB / 379.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1859/0.3554, allocations: 1.212 MB / 380.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.357, allocations: 1.511 MB / 381.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005294/0.3623, allocations: 4.413 MB / 386.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3624, allocations: 1.344 kB / 386.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3624, allocations: 0 / 386.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.3625, allocations: 0.5312 kB / 386.3 MB, free: 12.23 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.0061/0.3686, allocations: 3.006 MB / 389.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3687, allocations: 9.469 kB / 389.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.3741, allocations: 1.689 MB / 391 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.3768, allocations: 1.565 MB / 392.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.377, allocations: 152.2 kB / 392.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/0.3774, allocations: 203.8 kB / 392.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.3875, allocations: 6.979 MB / 399.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/0.3876, allocations: 29.22 kB / 399.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.3879, allocations: 100.5 kB / 400 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.39, allocations: 1.559 MB / 401.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00917/0.3992, allocations: 5.492 MB / 407 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/0.4243, allocations: 27.28 MB / 434.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4272, allocations: 1.588 MB / 435.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.4279, allocations: 464.9 kB / 436.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/0.4318, allocations: 2.582 MB / 438.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4318, allocations: 45.09 kB / 439 MB, free: 9.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.306e-06/0.4319, allocations: 4 kB / 439 MB, free: 9.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.00364/0.4355, allocations: 1.663 MB / 440.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.4356, allocations: 195.9 kB / 440.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005514/0.4411, allocations: 3.706 MB / 444.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.4412, allocations: 37.7 kB / 444.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.443, allocations: 2.715 MB / 447.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.4433, allocations: 370.5 kB / 447.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.4438, allocations: 406.9 kB / 448.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.4439, allocations: 305.1 kB / 448.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4457, allocations: 1.2 MB / 449.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.4493, allocations: 4.568 MB / 454.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/0.456, allocations: 6.317 MB / 460.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.874e-05/0.4561, allocations: 36 kB / 460.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009699/0.4658, allocations: 5.459 MB / 465.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.4659, allocations: 56 kB / 466 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/0.466, allocations: 120 kB / 466.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.4662, allocations: 156 kB / 466.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4691, allocations: 1.1 MB / 467.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.4693, allocations: 237.2 kB / 467.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.4728, allocations: 0.6961 MB / 468.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.4732, allocations: 312 kB / 468.6 MB, free: 10.33 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.002667/0.4759, allocations: 1.719 MB / 470.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.4763, allocations: 300.1 kB / 470.6 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.4773, allocations: 0.4933 MB / 471.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.4773, allocations: 13.56 kB / 471.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4773, allocations: 0 / 471.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4773, allocations: 7.984 kB / 471.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.4823, allocations: 3.129 MB / 474.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.4823, allocations: 4 kB / 474.3 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.4828, allocations: 110.7 kB / 474.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.4828, allocations: 4 kB / 474.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4829, allocations: 16 kB / 474.4 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.4829, allocations: 14.7 kB / 474.4 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4829, allocations: 4 kB / 474.4 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.485, allocations: 2.043 MB / 476.4 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/0.4857, allocations: 436.8 kB / 476.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.4859, allocations: 15.19 kB / 476.9 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.4867, allocations: 36.03 kB / 476.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4869, allocations: 49.03 kB / 477 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4869, allocations: 28.05 kB / 477 MB, free: 1.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003401/0.4903, allocations: 2.365 MB / 479.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4903, allocations: 0 / 479.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003713/0.494, allocations: 0.8139 MB / 480.2 MB, free: 14.75 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.000308/0.4944, allocations: 134.9 kB / 480.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004026/0.4984, allocations: 2.776 MB / 483.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4984, allocations: 192 / 483.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.499, allocations: 411.5 kB / 483.5 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.5023, allocations: 365.9 kB / 483.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5139, allocations: 8.27 MB / 492.1 MB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.5165, allocations: 2.676 MB / 494.8 MB, free: 220 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003621/0.5202, allocations: 1.51 MB / 496.3 MB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.5206, allocations: 191.4 kB / 496.5 MB, free: 14.51 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.5206, allocations: 0 / 496.5 MB, free: 14.51 MB / 414.1 MB Notification: Performance of Templates: time 0.04404/0.5647, allocations: 21.3 MB / 0.5057 GB, free: 9.266 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)