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.0016/0.0016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002014/0.002015, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.478/1.478, allocations: 205.1 MB / 222 MB, free: 5 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.001713/0.001713, allocations: 47.94 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2523, allocations: 46.63 MB / 324.7 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03216/0.2845, allocations: 33.49 MB / 358.2 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.3021, allocations: 6.626 MB / 364.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007775/0.3099, allocations: 143.6 kB / 364.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.3142, allocations: 1.804 MB / 366.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.3177, allocations: 1.23 MB / 368 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.3185, allocations: 199.8 kB / 368.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005036/0.3235, allocations: 4.27 MB / 372.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.3265, allocations: 2.111 MB / 374.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.328, allocations: 0.8949 MB / 375.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.3304, allocations: 1.663 MB / 377.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.3311, allocations: 152 kB / 377.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3323, allocations: 467.3 kB / 377.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3338, allocations: 1.281 MB / 379 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.3359, allocations: 1.568 MB / 380.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.3401, allocations: 4.523 MB / 385.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3402, allocations: 0 / 385.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3402, allocations: 0 / 385.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.3403, allocations: 0 / 385.1 MB, free: 7.527 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.005705/0.346, allocations: 3.641 MB / 388.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.3461, allocations: 8.031 kB / 388.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.351, allocations: 1.645 MB / 390.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.3535, allocations: 1.569 MB / 392 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3537, allocations: 151.8 kB / 392.1 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.354, allocations: 195.9 kB / 392.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3651, allocations: 6.975 MB / 399.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.3652, allocations: 27.75 kB / 399.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.3655, allocations: 103.9 kB / 399.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002442/0.368, allocations: 1.559 MB / 401 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.378, allocations: 5.485 MB / 406.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.4091, allocations: 27.25 MB / 433.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.4119, allocations: 1.596 MB / 435.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.4125, allocations: 464.9 kB / 435.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.4164, allocations: 2.594 MB / 438.3 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4164, allocations: 42.47 kB / 438.4 MB, free: 312 kB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.4164, allocations: 0 / 438.4 MB, free: 312 kB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003589/0.42, allocations: 1.658 MB / 440 MB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4201, allocations: 200 kB / 440.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.4252, allocations: 3.702 MB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.4254, allocations: 33.7 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.4275, allocations: 2.725 MB / 446.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.428, allocations: 356.2 kB / 447 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.4292, allocations: 0.9676 MB / 448 MB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4293, allocations: 301.1 kB / 448.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.4309, allocations: 1.204 MB / 449.5 MB, free: 5.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2142/0.6452, allocations: 4.558 MB / 454.1 MB, free: 109.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009451/0.6547, allocations: 6.313 MB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/0.6549, allocations: 35.88 kB / 460.4 MB, free: 103.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01538/0.6703, allocations: 5.444 MB / 465.9 MB, free: 101.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.6706, allocations: 56.47 kB / 465.9 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/0.6708, allocations: 126.8 kB / 466 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.671, allocations: 156.8 kB / 466.2 MB, free: 101.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/0.6754, allocations: 1.107 MB / 467.3 MB, free: 101.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001314/0.6755, allocations: 233.9 kB / 467.5 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.6786, allocations: 0.6917 MB / 468.2 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/0.6791, allocations: 317.1 kB / 468.5 MB, free: 101.5 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.001943/0.681, allocations: 1.709 MB / 470.2 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.6814, allocations: 299.3 kB / 470.5 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/0.6822, allocations: 0.4922 MB / 471 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6823, allocations: 13.56 kB / 471 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6823, allocations: 3.75 kB / 471 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6823, allocations: 7.594 kB / 471 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.6867, allocations: 3.124 MB / 474.2 MB, free: 98.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.6867, allocations: 4 kB / 474.2 MB, free: 98.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.6872, allocations: 97.2 kB / 474.3 MB, free: 98.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.6872, allocations: 12.28 kB / 474.3 MB, free: 98.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.6873, allocations: 13.31 kB / 474.3 MB, free: 98.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.6873, allocations: 9.297 kB / 474.3 MB, free: 98.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6873, allocations: 6.062 kB / 474.3 MB, free: 98.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.689, allocations: 2.038 MB / 476.3 MB, free: 96.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.6896, allocations: 424.7 kB / 476.8 MB, free: 95.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.6898, allocations: 23.84 kB / 476.8 MB, free: 95.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/0.6906, allocations: 33.88 kB / 476.8 MB, free: 95.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.6907, allocations: 51.94 kB / 476.9 MB, free: 95.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.6908, allocations: 28 kB / 476.9 MB, free: 95.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00256/0.6933, allocations: 2.36 MB / 479.2 MB, free: 93.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6933, allocations: 0 / 479.2 MB, free: 93.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003524/0.6969, allocations: 0.801 MB / 480 MB, free: 92.63 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.0002933/0.6972, allocations: 149 kB / 480.2 MB, free: 92.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004684/0.7019, allocations: 2.766 MB / 483 MB, free: 89.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.7019, allocations: 4.312 kB / 483 MB, free: 89.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.7024, allocations: 406.8 kB / 483.4 MB, free: 89.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.7047, allocations: 362.3 kB / 483.7 MB, free: 89.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/0.7139, allocations: 8.201 MB / 491.9 MB, free: 80.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.716, allocations: 2.685 MB / 494.6 MB, free: 78.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003235/0.7192, allocations: 1.51 MB / 496.1 MB, free: 76.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.7196, allocations: 199.4 kB / 496.3 MB, free: 76.33 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7196, allocations: 0 / 496.3 MB, free: 76.33 MB / 382.1 MB Notification: Performance of Templates: time 0.03797/0.7576, allocations: 21.4 MB / 0.5056 GB, free: 54.96 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)