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.009528/0.009528, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.002229/0.002228, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.328 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.001202/0.001202, allocations: 50.83 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01028/0.1187, allocations: 9.011 MB / 382.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1241, allocations: 2.663 MB / 384.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.1252, allocations: 47.88 kB / 384.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.1287, allocations: 1.83 MB / 386.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.1319, allocations: 1.311 MB / 388.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1324, allocations: 219.6 kB / 388.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.1353, allocations: 2.375 MB / 390.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.1376, allocations: 2.121 MB / 392.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1389, allocations: 0.9963 MB / 393.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.1418, allocations: 2.345 MB / 396.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.1422, allocations: 188 kB / 396.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.1431, allocations: 483.4 kB / 396.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.1443, allocations: 1.321 MB / 398.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.1457, allocations: 1.591 MB / 399.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.1502, allocations: 4.845 MB / 404.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1502, allocations: 4 kB / 404.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1502, allocations: 3.938 kB / 404.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.392e-05/0.1503, allocations: 0 / 404.5 MB, free: 1.789 MB / 334.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.006233/0.1565, allocations: 3.633 MB / 408.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1566, allocations: 8.031 kB / 408.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.1618, allocations: 1.649 MB / 409.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.165, allocations: 1.576 MB / 411.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1652, allocations: 151.8 kB / 411.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.1655, allocations: 199.9 kB / 411.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009411/0.1749, allocations: 6.982 MB / 418.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.324e-05/0.175, allocations: 31.69 kB / 418.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.1753, allocations: 107.8 kB / 418.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002159/0.1774, allocations: 1.547 MB / 420.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.1877, allocations: 5.493 MB / 425.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.4124, allocations: 27.12 MB / 453 MB, free: 62.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.4155, allocations: 1.633 MB / 454.7 MB, free: 62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/0.4163, allocations: 0.4997 MB / 455.2 MB, free: 61.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00459/0.4209, allocations: 2.67 MB / 457.8 MB, free: 60.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4209, allocations: 56.98 kB / 457.9 MB, free: 60.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 2.956e-06/0.4209, allocations: 0 / 457.9 MB, free: 60.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.003961/0.4249, allocations: 1.758 MB / 459.6 MB, free: 60.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.425, allocations: 216.9 kB / 459.8 MB, free: 60.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/0.4304, allocations: 3.668 MB / 463.5 MB, free: 59.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.4305, allocations: 38.19 kB / 463.6 MB, free: 59.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.4319, allocations: 2.69 MB / 466.2 MB, free: 57.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.4322, allocations: 384.5 kB / 466.6 MB, free: 57.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/0.4332, allocations: 0.962 MB / 467.6 MB, free: 56.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.4333, allocations: 304.9 kB / 467.9 MB, free: 56.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4347, allocations: 1.209 MB / 469.1 MB, free: 56.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.4372, allocations: 4.529 MB / 473.6 MB, free: 51.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.4411, allocations: 6.297 MB / 479.9 MB, free: 45.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.557e-05/0.4412, allocations: 34.47 kB / 479.9 MB, free: 45.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.006071/0.4472, allocations: 5.437 MB / 485.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.4473, allocations: 57.66 kB / 485.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.629e-05/0.4474, allocations: 119.3 kB / 485.6 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.4475, allocations: 155.6 kB / 485.7 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.4498, allocations: 1.087 MB / 486.8 MB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.45, allocations: 233 kB / 487 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.4527, allocations: 0.683 MB / 487.7 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.4529, allocations: 321.4 kB / 488 MB, free: 42.54 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.001695/0.4546, allocations: 1.711 MB / 489.7 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4549, allocations: 300.3 kB / 490 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.4555, allocations: 492.2 kB / 490.5 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/0.4556, allocations: 19.98 kB / 490.5 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.4556, allocations: 4 kB / 490.5 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4556, allocations: 4 kB / 490.5 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.4598, allocations: 3.148 MB / 493.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4599, allocations: 8.062 kB / 493.7 MB, free: 37.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.4603, allocations: 107.8 kB / 493.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.4603, allocations: 8 kB / 493.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.4603, allocations: 15.98 kB / 493.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4603, allocations: 7.938 kB / 493.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4603, allocations: 8 kB / 493.8 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4619, allocations: 2.218 MB / 496 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/0.4625, allocations: 432.8 kB / 496.5 MB, free: 34.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.4627, allocations: 16 kB / 496.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.4634, allocations: 27.97 kB / 496.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.4635, allocations: 55.88 kB / 496.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.4636, allocations: 28 kB / 496.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002246/0.4658, allocations: 2.337 MB / 498.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4658, allocations: 0 / 498.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003037/0.4689, allocations: 0.8158 MB / 499.7 MB, free: 31.73 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.000261/0.4692, allocations: 149.8 kB / 499.9 MB, free: 31.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.4722, allocations: 2.817 MB / 0.4909 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4722, allocations: 0 / 0.4909 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.4726, allocations: 447.2 kB / 0.4914 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.4743, allocations: 378.8 kB / 0.4917 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.4813, allocations: 6.665 MB / 0.4982 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.4832, allocations: 2.687 MB / 0.5009 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.4857, allocations: 1.491 MB / 0.5023 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.486, allocations: 199.4 kB / 0.5025 GB, free: 16.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.873e-06/0.486, allocations: 4 kB / 0.5025 GB, free: 16.89 MB / 382.1 MB Notification: Performance of Templates: time 0.03612/0.5221, allocations: 19 MB / 0.5211 GB, free: 14 MB / 398.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)