Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008794/0.0008795, allocations: 93.61 kB / 16.3 MB, free: 6.133 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.0009827/0.0009829, allocations: 178.5 kB / 17.19 MB, free: 6.016 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.367/1.367, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.0004378/0.0004378, allocations: 12 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09311, allocations: 47.59 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01219/0.1054, allocations: 11.99 MB / 339.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008742/0.1141, allocations: 4.109 MB / 343.8 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.1165, allocations: 55.88 kB / 343.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.1181, allocations: 0.5365 MB / 344.4 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.1236, allocations: 1.94 MB / 346.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1247, allocations: 403.3 kB / 346.7 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.1272, allocations: 1.458 MB / 348.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.1294, allocations: 1.321 MB / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.1305, allocations: 0.5994 MB / 350.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.1317, allocations: 0.8371 MB / 350.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.132, allocations: 76 kB / 351 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1334, allocations: 0.7099 MB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009325/0.1343, allocations: 0.8766 MB / 352.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.135, allocations: 496.1 kB / 353.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.1381, allocations: 2.954 MB / 356 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1381, allocations: 0 / 356 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1381, allocations: 7.938 kB / 356 MB, free: 7.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.1383, allocations: 0 / 356 MB, free: 7.613 MB / 302.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.00486/0.1431, allocations: 2.496 MB / 358.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1432, allocations: 8.031 kB / 358.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.1503, allocations: 1.978 MB / 360.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.1548, allocations: 1.542 MB / 362.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.155, allocations: 118.8 kB / 362.2 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009953/0.1561, allocations: 151.9 kB / 362.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.1723, allocations: 6.394 MB / 368.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.1724, allocations: 27.75 kB / 368.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007151/0.1732, allocations: 87.88 kB / 368.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004437/0.1776, allocations: 1.437 MB / 370.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.1968, allocations: 5.689 MB / 376 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.4052, allocations: 26.33 MB / 402.3 MB, free: 30.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.409, allocations: 2.257 MB / 404.6 MB, free: 29.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.4091, allocations: 14.78 kB / 404.6 MB, free: 29.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.4091, allocations: 38.69 kB / 404.6 MB, free: 29.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.226e-06/0.4092, allocations: 6.516 kB / 404.6 MB, free: 29.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01862/0.4278, allocations: 8.873 MB / 413.5 MB, free: 24.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4279, allocations: 139.9 kB / 413.6 MB, free: 24.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.431, allocations: 2.948 MB / 416.6 MB, free: 22.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/0.4311, allocations: 37.7 kB / 416.6 MB, free: 22.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007932/0.4319, allocations: 2.078 MB / 418.7 MB, free: 20.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.4322, allocations: 439.8 kB / 419.1 MB, free: 20.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.4324, allocations: 84 kB / 419.2 MB, free: 20.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4325, allocations: 499.6 kB / 419.7 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4342, allocations: 1.395 MB / 421.1 MB, free: 18.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.4367, allocations: 4.199 MB / 425.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.4394, allocations: 2.385 MB / 427.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-05/0.4395, allocations: 28 kB / 427.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0084/0.4479, allocations: 6.049 MB / 433.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.4479, allocations: 48 kB / 433.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.447e-05/0.448, allocations: 100 kB / 433.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.45, allocations: 0.8127 MB / 434.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.4526, allocations: 0.9864 MB / 435.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.4574, allocations: 4.239 MB / 439.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.4605, allocations: 251.6 kB / 440.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/0.4609, allocations: 277.2 kB / 440.4 MB, free: 13.38 MB / 334.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 (533): * Single equations (assignments): 529 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001951/0.4629, allocations: 1.373 MB / 441.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.4633, allocations: 236.9 kB / 442 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.4669, allocations: 1.846 MB / 443.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.467, allocations: 12 kB / 443.9 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.467, allocations: 8.594 kB / 443.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.467, allocations: 11.94 kB / 443.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008435/0.4754, allocations: 4.801 MB / 448.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4755, allocations: 0 / 448.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.4761, allocations: 135.8 kB / 448.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.4781, allocations: 0.656 MB / 449.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.4782, allocations: 18.5 kB / 449.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.4829, allocations: 3.786 MB / 453.3 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4829, allocations: 7.984 kB / 453.3 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/0.4885, allocations: 3.777 MB / 457.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4896, allocations: 453.9 kB / 457.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.4899, allocations: 20 kB / 457.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.4907, allocations: 63.91 kB / 457.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4909, allocations: 50.45 kB / 457.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.491, allocations: 35.98 kB / 457.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002718/0.4937, allocations: 1.84 MB / 459.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4937, allocations: 0 / 459.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003605/0.4973, allocations: 0.6614 MB / 460.2 MB, free: 9.305 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004347/0.4978, allocations: 163.8 kB / 460.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005325/0.5031, allocations: 3.399 MB / 463.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5031, allocations: 0 / 463.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5044, allocations: 0.9236 MB / 464.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5058, allocations: 242.9 kB / 464.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008178/0.514, allocations: 6.424 MB / 471.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.516, allocations: 2.244 MB / 473.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003029/0.519, allocations: 1.397 MB / 475 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.5194, allocations: 167.4 kB / 475.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5194, allocations: 0 / 475.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Templates: time 0.03728/0.5567, allocations: 22.03 MB / 497.2 MB, free: 4.273 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) Environment - environmentSimulation: