Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001098/0.001098, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008703/0.008703, allocations: 170 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004951/0.0004955, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2362, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03071/0.2669, allocations: 32.54 MB / 359.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01746/0.2844, allocations: 6.572 MB / 366.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006448/0.2909, allocations: 143.6 kB / 366.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2923, allocations: 334.4 kB / 366.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.2959, allocations: 1.246 MB / 367.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.2966, allocations: 191.7 kB / 368 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.3027, allocations: 4.27 MB / 372.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004537/0.3073, allocations: 2.747 MB / 375.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.3092, allocations: 0.77 MB / 375.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.3118, allocations: 1.518 MB / 377.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006389/0.3125, allocations: 96 kB / 377.4 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.3138, allocations: 411.3 kB / 377.8 MB, free: 336 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3154, allocations: 1.223 MB / 379.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.3175, allocations: 1.499 MB / 380.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.3226, allocations: 4.421 MB / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3227, allocations: 0 / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3227, allocations: 0 / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001776/0.3229, allocations: 0 / 385 MB, free: 9.148 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.006817/0.3297, allocations: 2.994 MB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3298, allocations: 8.031 kB / 388 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/0.3355, allocations: 1.7 MB / 389.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.3386, allocations: 1.569 MB / 391.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.3387, allocations: 147.8 kB / 391.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005564/0.3393, allocations: 195.9 kB / 391.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.3501, allocations: 6.979 MB / 398.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/0.3502, allocations: 27.75 kB / 398.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.3505, allocations: 99.88 kB / 398.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.3529, allocations: 1.559 MB / 400.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.3631, allocations: 5.501 MB / 405.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.3949, allocations: 27.27 MB / 433 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.398, allocations: 1.58 MB / 434.6 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.3987, allocations: 481.1 kB / 435.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004216/0.403, allocations: 2.582 MB / 437.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.403, allocations: 46.5 kB / 437.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.956e-06/0.403, allocations: 0 / 437.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.00371/0.4067, allocations: 1.666 MB / 439.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.4068, allocations: 187.9 kB / 439.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.4124, allocations: 3.726 MB / 443.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.4125, allocations: 37.7 kB / 443.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.4145, allocations: 2.71 MB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.415, allocations: 363.9 kB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/0.4154, allocations: 408.3 kB / 446.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4155, allocations: 301.1 kB / 447.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.4174, allocations: 1.196 MB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.4219, allocations: 4.572 MB / 452.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2123/0.6342, allocations: 6.312 MB / 459.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.6344, allocations: 34 kB / 459.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009238/0.6436, allocations: 5.452 MB / 464.6 MB, free: 102.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.6437, allocations: 59.53 kB / 464.7 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.89e-05/0.6438, allocations: 122.1 kB / 464.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.6439, allocations: 158.2 kB / 465 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.6467, allocations: 1.096 MB / 466.1 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/0.6468, allocations: 242.5 kB / 466.3 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.6499, allocations: 0.7011 MB / 467 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.6502, allocations: 314.7 kB / 467.3 MB, free: 101.9 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.002035/0.6522, allocations: 1.711 MB / 469 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.6527, allocations: 299.2 kB / 469.3 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.6536, allocations: 0.4968 MB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6536, allocations: 7.906 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.6537, allocations: 5.062 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6537, allocations: 7.688 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.658, allocations: 3.126 MB / 473 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.658, allocations: 4.281 kB / 473 MB, free: 99.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.6584, allocations: 110.5 kB / 473.1 MB, free: 99.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.6585, allocations: 4 kB / 473.1 MB, free: 99.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.6585, allocations: 19.8 kB / 473.1 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.6585, allocations: 11.94 kB / 473.1 MB, free: 99.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6585, allocations: 4 kB / 473.1 MB, free: 99.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6603, allocations: 2.039 MB / 475.2 MB, free: 97.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.6608, allocations: 433.9 kB / 475.6 MB, free: 96.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6611, allocations: 19.98 kB / 475.6 MB, free: 96.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.6618, allocations: 31.44 kB / 475.6 MB, free: 96.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.6619, allocations: 49.28 kB / 475.7 MB, free: 96.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.662, allocations: 28.86 kB / 475.7 MB, free: 96.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00255/0.6645, allocations: 2.366 MB / 478.1 MB, free: 94.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6646, allocations: 4 kB / 478.1 MB, free: 94.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003456/0.668, allocations: 0.8119 MB / 478.9 MB, free: 93.75 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 (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.0003384/0.6684, allocations: 142.3 kB / 479 MB, free: 93.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.6724, allocations: 2.766 MB / 481.8 MB, free: 90.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.6725, allocations: 0 / 481.8 MB, free: 90.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.6729, allocations: 417.5 kB / 482.2 MB, free: 90.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.6765, allocations: 361.3 kB / 482.6 MB, free: 90.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.6871, allocations: 8.253 MB / 490.8 MB, free: 81.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.6894, allocations: 2.681 MB / 493.5 MB, free: 79.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003457/0.6929, allocations: 1.51 MB / 495 MB, free: 77.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.6933, allocations: 199.3 kB / 495.2 MB, free: 77.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6933, allocations: 3.828 kB / 495.2 MB, free: 77.38 MB / 382.1 MB Notification: Performance of Templates: time 0.038/0.7313, allocations: 21.31 MB / 0.5044 GB, free: 56.11 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)