Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0044/0.0044, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.001045/0.001045, allocations: 205.5 kB / 16.68 MB, free: 5.973 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.002006/0.002007, allocations: 46.41 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00809/0.1142, allocations: 7.125 MB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.1202, allocations: 3.147 MB / 383.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.1211, allocations: 39.81 kB / 383.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1229, allocations: 0.7899 MB / 384.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.1258, allocations: 1.308 MB / 385.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1268, allocations: 0.4989 MB / 386.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002857/0.1297, allocations: 2.535 MB / 388.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.1312, allocations: 1.169 MB / 389.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.1321, allocations: 0.7666 MB / 390.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.1334, allocations: 1.109 MB / 391.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.1336, allocations: 132 kB / 391.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1351, allocations: 0.8775 MB / 392.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008388/0.136, allocations: 0.9972 MB / 393.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.137, allocations: 1.195 MB / 394.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.1414, allocations: 3.979 MB / 398.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1414, allocations: 4 kB / 398.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1414, allocations: 0 / 398.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.077e-05/0.1414, allocations: 4 kB / 398.8 MB, free: 7.531 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004939/0.1464, allocations: 2.959 MB / 401.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1465, allocations: 8.031 kB / 401.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/0.1522, allocations: 1.66 MB / 403.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1545, allocations: 1.383 MB / 404.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/0.1546, allocations: 122.8 kB / 405 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.1549, allocations: 155.8 kB / 405.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.1632, allocations: 6.359 MB / 411.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.1633, allocations: 27.75 kB / 411.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.1635, allocations: 83.89 kB / 411.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.166, allocations: 1.441 MB / 413 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.1761, allocations: 5.666 MB / 418.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02894/0.205, allocations: 26.26 MB / 445 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.2093, allocations: 2.266 MB / 447.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.2106, allocations: 1.022 MB / 448.2 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.2106, allocations: 15.98 kB / 448.3 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.2107, allocations: 50.38 kB / 448.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.958e-06/0.2107, allocations: 0 / 448.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.2325/0.4432, allocations: 8.73 MB / 457 MB, free: 69.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.4433, allocations: 139.7 kB / 457.2 MB, free: 69.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.4478, allocations: 2.841 MB / 460 MB, free: 68.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.448, allocations: 38.05 kB / 460.1 MB, free: 68.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.4492, allocations: 2.157 MB / 462.2 MB, free: 67.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.4496, allocations: 457.9 kB / 462.7 MB, free: 66.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4507, allocations: 0.8895 MB / 463.6 MB, free: 66.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.4508, allocations: 309.4 kB / 463.9 MB, free: 66.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.4528, allocations: 1.417 MB / 465.3 MB, free: 65.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.4557, allocations: 4.245 MB / 469.5 MB, free: 61.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005123/0.4608, allocations: 6.134 MB / 475.7 MB, free: 56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.414e-05/0.4609, allocations: 31.5 kB / 475.7 MB, free: 56 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.008939/0.4698, allocations: 6.127 MB / 481.8 MB, free: 53.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.4699, allocations: 47.09 kB / 481.9 MB, free: 53.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.475e-05/0.47, allocations: 103.7 kB / 482 MB, free: 53.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.4719, allocations: 0.7952 MB / 482.8 MB, free: 53.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.4743, allocations: 0.9903 MB / 483.7 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.4785, allocations: 4.479 MB / 488.2 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.4816, allocations: 247.6 kB / 488.5 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.4819, allocations: 272 kB / 488.7 MB, free: 47.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00157/0.4835, allocations: 1.38 MB / 490.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.4838, allocations: 246.3 kB / 490.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.4871, allocations: 1.85 MB / 492.2 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.4871, allocations: 12 kB / 492.2 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.4871, allocations: 4 kB / 492.2 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4872, allocations: 3.984 kB / 492.2 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/0.4938, allocations: 4.788 MB / 497 MB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.4938, allocations: 4.062 kB / 497 MB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.4943, allocations: 140.3 kB / 497.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.4961, allocations: 0.6498 MB / 497.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.4961, allocations: 16 kB / 497.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/0.4998, allocations: 3.96 MB / 0.49 GB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4999, allocations: 4.031 kB / 0.49 GB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.5046, allocations: 3.706 MB / 0.4936 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009797/0.5056, allocations: 455.1 kB / 0.4941 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.5059, allocations: 20 kB / 0.4941 GB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/0.5068, allocations: 59.91 kB / 0.4941 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.5069, allocations: 48.59 kB / 0.4942 GB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.507, allocations: 35.34 kB / 0.4942 GB, free: 29.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.509, allocations: 1.77 MB / 0.496 GB, free: 27.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.509, allocations: 0 / 0.496 GB, free: 27.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003438/0.5125, allocations: 0.6406 MB / 0.4966 GB, free: 27.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000313/0.5128, allocations: 142.3 kB / 0.4967 GB, free: 27.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.5169, allocations: 3.428 MB / 0.5001 GB, free: 23.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.517, allocations: 0 / 0.5001 GB, free: 23.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.5179, allocations: 0.9365 MB / 0.501 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5192, allocations: 258.8 kB / 0.5012 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/0.5258, allocations: 5.526 MB / 0.5066 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5274, allocations: 2.184 MB / 0.5088 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002383/0.5298, allocations: 1.404 MB / 0.5101 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.5301, allocations: 167.4 kB / 0.5103 GB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5302, allocations: 3.938 kB / 0.5103 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.03557/0.5657, allocations: 20.73 MB / 0.5305 GB, free: 8.512 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)