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.001154/0.001154, allocations: 91.77 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.009463/0.009464, allocations: 172.8 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.5/1.5, 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.0007782/0.0007784, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2835, 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.03258/0.3162, allocations: 32.54 MB / 359.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.3336, allocations: 6.575 MB / 366.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00601/0.3396, allocations: 139.7 kB / 366.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.341, allocations: 338.4 kB / 366.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.3444, allocations: 1.242 MB / 367.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.3451, allocations: 191.7 kB / 368 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004993/0.3501, allocations: 4.274 MB / 372.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.3541, allocations: 2.731 MB / 375 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3558, allocations: 0.7739 MB / 375.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.3584, allocations: 1.514 MB / 377.3 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005864/0.359, allocations: 96 kB / 377.4 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.3602, allocations: 415.3 kB / 377.8 MB, free: 336 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3617, allocations: 1.223 MB / 379.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.3636, allocations: 1.503 MB / 380.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.3677, allocations: 4.417 MB / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3677, allocations: 0 / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3677, allocations: 0 / 385 MB, free: 9.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-05/0.3678, 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.004737/0.3725, allocations: 2.994 MB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3726, allocations: 15.97 kB / 388 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.3778, allocations: 1.696 MB / 389.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.3804, allocations: 1.561 MB / 391.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.3806, allocations: 147.8 kB / 391.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.3809, allocations: 195.9 kB / 391.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009602/0.3905, allocations: 6.975 MB / 398.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/0.3906, allocations: 31.73 kB / 398.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3909, allocations: 99.88 kB / 398.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.3931, allocations: 1.559 MB / 400.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009414/0.4025, allocations: 5.501 MB / 405.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03587/0.4384, allocations: 27.28 MB / 433 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.4428, allocations: 1.584 MB / 434.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.4438, allocations: 469.2 kB / 435.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004269/0.4481, allocations: 2.594 MB / 437.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/0.4482, allocations: 38.56 kB / 437.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.406e-06/0.4482, allocations: 0 / 437.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.004171/0.4524, allocations: 1.677 MB / 439.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.4525, allocations: 187.9 kB / 439.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/0.4592, allocations: 3.718 MB / 443.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.4594, allocations: 37.7 kB / 443.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.4616, allocations: 2.71 MB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.4622, allocations: 368 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.4627, allocations: 404.3 kB / 446.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4628, allocations: 305.1 kB / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4646, allocations: 1.196 MB / 448.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004293/0.4689, allocations: 4.568 MB / 452.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1869/0.6559, allocations: 6.318 MB / 459.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.656, allocations: 34.91 kB / 459.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01022/0.6662, allocations: 5.456 MB / 464.7 MB, free: 102.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.6663, allocations: 54.84 kB / 464.7 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.6665, allocations: 119.5 kB / 464.8 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.6666, allocations: 158.3 kB / 465 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.6694, allocations: 1.103 MB / 466.1 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000124/0.6695, allocations: 242.8 kB / 466.3 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.6727, allocations: 0.6945 MB / 467 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/0.6731, allocations: 314.3 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.002274/0.6754, allocations: 1.714 MB / 469 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.6758, allocations: 298.2 kB / 469.3 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007731/0.6766, allocations: 0.4901 MB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.6767, allocations: 11.62 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.6767, allocations: 5.031 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6767, allocations: 7.938 kB / 469.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.6811, allocations: 3.132 MB / 473 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6811, allocations: 0 / 473 MB, free: 99.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.6816, allocations: 107.1 kB / 473.1 MB, free: 99.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.6816, allocations: 8 kB / 473.1 MB, free: 99.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.6816, allocations: 16 kB / 473.1 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6816, allocations: 4 kB / 473.1 MB, free: 99.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6817, allocations: 8.219 kB / 473.1 MB, free: 99.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6834, allocations: 2.042 MB / 475.2 MB, free: 97.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00061/0.684, allocations: 438 kB / 475.6 MB, free: 96.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.6842, allocations: 11.22 kB / 475.6 MB, free: 96.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.685, allocations: 35.97 kB / 475.6 MB, free: 96.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6851, allocations: 43.83 kB / 475.7 MB, free: 96.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.6852, allocations: 30.78 kB / 475.7 MB, free: 96.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002876/0.6881, allocations: 2.37 MB / 478.1 MB, free: 94.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6881, allocations: 0 / 478.1 MB, free: 94.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003587/0.6917, allocations: 0.8161 MB / 478.9 MB, free: 93.76 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.0002795/0.692, allocations: 143.9 kB / 479 MB, free: 93.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003634/0.6956, allocations: 2.769 MB / 481.8 MB, free: 90.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6956, allocations: 0 / 481.8 MB, free: 90.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.6961, allocations: 412 kB / 482.2 MB, free: 90.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.6996, allocations: 366.9 kB / 482.6 MB, free: 90.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.7099, allocations: 8.252 MB / 490.8 MB, free: 81.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.7121, allocations: 2.675 MB / 493.5 MB, free: 79.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003332/0.7155, allocations: 1.518 MB / 495 MB, free: 77.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.7159, allocations: 195.4 kB / 495.2 MB, free: 77.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7159, allocations: 7.828 kB / 495.2 MB, free: 77.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03801/0.7539, allocations: 21.3 MB / 0.5044 GB, free: 56.13 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)