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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001358/0.001358, allocations: 47.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01156/0.2428, allocations: 9.033 MB / 334.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006602/0.2495, allocations: 2.656 MB / 337 MB, free: 8.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.251, allocations: 47.88 kB / 337 MB, free: 8.156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.2546, allocations: 1.826 MB / 338.9 MB, free: 6.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.2586, allocations: 1.323 MB / 340.2 MB, free: 4.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.2592, allocations: 207.7 kB / 340.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.2628, allocations: 2.371 MB / 342.8 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.2655, allocations: 2.122 MB / 344.9 MB, free: 252 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.2675, allocations: 1.016 MB / 345.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.2707, allocations: 2.33 MB / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.2713, allocations: 191.9 kB / 348.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2724, allocations: 483.4 kB / 348.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.2737, allocations: 1.293 MB / 350.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.2753, allocations: 1.579 MB / 351.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00503/0.2804, allocations: 4.621 MB / 356.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2804, allocations: 0 / 356.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2804, allocations: 3.938 kB / 356.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.2806, allocations: 3.938 kB / 356.4 MB, free: 4.699 MB / 286.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.006666/0.2872, allocations: 3.629 MB / 360 MB, free: 1.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2873, allocations: 12.03 kB / 360 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.2926, allocations: 1.649 MB / 361.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.2958, allocations: 1.557 MB / 363.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.2959, allocations: 151.8 kB / 363.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.2963, allocations: 195.9 kB / 363.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.3068, allocations: 6.986 MB / 370.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/0.3069, allocations: 31.66 kB / 370.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.3072, allocations: 107.8 kB / 370.7 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/0.3095, allocations: 1.555 MB / 372.3 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.3199, allocations: 5.493 MB / 377.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03602/0.356, allocations: 27.21 MB / 405 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.3589, allocations: 1.646 MB / 406.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.3598, allocations: 0.5067 MB / 407.1 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004468/0.3643, allocations: 2.683 MB / 409.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3643, allocations: 46.5 kB / 409.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.3644, allocations: 0 / 409.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004067/0.3684, allocations: 1.759 MB / 411.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.3685, allocations: 217.6 kB / 411.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/0.3749, allocations: 3.673 MB / 415.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.375, allocations: 33.7 kB / 415.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.3772, allocations: 2.683 MB / 418.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.3777, allocations: 387.5 kB / 418.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.379, allocations: 0.9637 MB / 419.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.3791, allocations: 305.1 kB / 419.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.3809, allocations: 1.208 MB / 421.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.3854, allocations: 4.526 MB / 425.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006793/0.3922, allocations: 6.287 MB / 431.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/0.3924, allocations: 36 kB / 431.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01056/0.4029, allocations: 5.434 MB / 437.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.4031, allocations: 60 kB / 437.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003255/0.4035, allocations: 119.9 kB / 437.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.4037, allocations: 156 kB / 437.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/0.4071, allocations: 1.084 MB / 438.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000219/0.4073, allocations: 235.6 kB / 439 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.4111, allocations: 0.6803 MB / 439.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006427/0.4118, allocations: 320 kB / 440 MB, free: 11.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (589): * Single equations (assignments): 585 * Array equations: 4 * 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.002912/0.4147, allocations: 1.716 MB / 441.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/0.4153, allocations: 296.1 kB / 442 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.4164, allocations: 0.4904 MB / 442.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-05/0.4165, allocations: 20 kB / 442.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4165, allocations: 0 / 442.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4165, allocations: 7.984 kB / 442.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/0.4234, allocations: 3.158 MB / 445.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.4234, allocations: 4 kB / 445.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.4239, allocations: 99.88 kB / 445.7 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.4239, allocations: 8 kB / 445.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.424, allocations: 19.88 kB / 445.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.424, allocations: 8 kB / 445.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.424, allocations: 7.984 kB / 445.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.4264, allocations: 2.215 MB / 448 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/0.4273, allocations: 421 kB / 448.4 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/0.4277, allocations: 27.81 kB / 448.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009778/0.4287, allocations: 31.97 kB / 448.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4288, allocations: 47.95 kB / 448.5 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.4289, allocations: 39.86 kB / 448.6 MB, free: 2.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003847/0.4328, allocations: 2.337 MB / 450.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4328, allocations: 0 / 450.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.1891/0.6219, allocations: 0.7959 MB / 451.7 MB, free: 108.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * 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.0004059/0.6224, allocations: 143 kB / 451.8 MB, free: 108.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005412/0.6278, allocations: 2.908 MB / 454.7 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.6278, allocations: 1.438 kB / 454.7 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.6284, allocations: 438.8 kB / 455.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.6309, allocations: 384.2 kB / 455.5 MB, free: 108 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.641, allocations: 6.765 MB / 462.3 MB, free: 105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.6433, allocations: 2.681 MB / 465 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003312/0.6466, allocations: 1.492 MB / 466.5 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.647, allocations: 199.2 kB / 466.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.647, allocations: 0 / 466.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of Templates: time 0.03658/0.6836, allocations: 22.12 MB / 488.8 MB, free: 82.57 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)