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.001414/0.001415, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001462/0.001462, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.38/1.38, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.001423/0.001423, allocations: 59.88 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09864, allocations: 46.62 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008318/0.107, allocations: 7.129 MB / 333.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.1134, allocations: 3.147 MB / 336.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.1146, allocations: 31.94 kB / 336.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1166, allocations: 0.7976 MB / 337.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.1197, allocations: 1.308 MB / 339 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1209, allocations: 0.4951 MB / 339.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.1239, allocations: 2.539 MB / 342.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.1254, allocations: 1.165 MB / 343.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.1263, allocations: 0.7627 MB / 344 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.1276, allocations: 1.106 MB / 345.1 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.1279, allocations: 136 kB / 345.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.1294, allocations: 0.8736 MB / 346.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008554/0.1302, allocations: 1.001 MB / 347.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.1313, allocations: 1.192 MB / 348.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.1349, allocations: 3.789 MB / 352.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1349, allocations: 4 kB / 352.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1349, allocations: 0 / 352.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.1349, allocations: 0 / 352.1 MB, free: 10.89 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.004749/0.1397, allocations: 2.886 MB / 355 MB, free: 7.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1397, allocations: 12.03 kB / 355 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/0.1457, allocations: 1.647 MB / 356.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.148, allocations: 1.355 MB / 358 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.1481, allocations: 122.8 kB / 358.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1484, allocations: 155.9 kB / 358.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008971/0.1573, allocations: 6.363 MB / 364.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.1575, allocations: 31.75 kB / 364.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.1577, allocations: 79.89 kB / 364.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.1602, allocations: 1.437 MB / 366.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009901/0.1701, allocations: 5.681 MB / 371.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2086/0.3788, allocations: 26.29 MB / 398.1 MB, free: 31.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006334/0.3852, allocations: 2.271 MB / 400.4 MB, free: 30.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.3871, allocations: 1.017 MB / 401.4 MB, free: 30.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.3872, allocations: 10.38 kB / 401.4 MB, free: 30.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3872, allocations: 48.12 kB / 401.5 MB, free: 30.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.877e-06/0.3872, allocations: 4 kB / 401.5 MB, free: 30.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.02898/0.4162, allocations: 8.591 MB / 410.1 MB, free: 26.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.4163, allocations: 140 kB / 410.2 MB, free: 26.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.4206, allocations: 2.825 MB / 413.1 MB, free: 24.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.4208, allocations: 45.56 kB / 413.1 MB, free: 24.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4221, allocations: 2.072 MB / 415.2 MB, free: 22.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005347/0.4226, allocations: 438.8 kB / 415.6 MB, free: 22.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.424, allocations: 0.8868 MB / 416.5 MB, free: 22.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.4241, allocations: 308.6 kB / 416.8 MB, free: 21.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.4265, allocations: 1.416 MB / 418.2 MB, free: 20.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.43, allocations: 4.247 MB / 422.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00653/0.4365, allocations: 6.137 MB / 428.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.122e-05/0.4366, allocations: 32 kB / 428.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01364/0.4503, allocations: 6.099 MB / 434.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.4504, allocations: 52.97 kB / 434.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.4505, allocations: 100 kB / 434.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.4536, allocations: 0.7967 MB / 435.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/0.4578, allocations: 0.9942 MB / 436.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00891/0.4668, allocations: 4.464 MB / 441.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/0.4722, allocations: 255.4 kB / 441.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006924/0.4729, allocations: 280.7 kB / 441.6 MB, free: 10.37 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 (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.003217/0.4761, allocations: 1.371 MB / 443 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007662/0.4769, allocations: 229.9 kB / 443.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.4825, allocations: 1.861 MB / 445.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/0.4826, allocations: 16 kB / 445.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.4826, allocations: 4 kB / 445.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.4826, allocations: 3.984 kB / 445.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.4955, allocations: 4.809 MB / 449.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.4956, allocations: 4.031 kB / 449.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.4967, allocations: 135.8 kB / 450.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.4997, allocations: 0.6434 MB / 450.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.4999, allocations: 23.98 kB / 450.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006569/0.5065, allocations: 3.946 MB / 454.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.5065, allocations: 4.031 kB / 454.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/0.5129, allocations: 3.684 MB / 458.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.5141, allocations: 441.8 kB / 458.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006205/0.5148, allocations: 28.55 kB / 458.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5159, allocations: 59.91 kB / 458.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.5161, allocations: 55.86 kB / 458.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.5162, allocations: 32 kB / 459 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.5191, allocations: 1.762 MB / 460.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5191, allocations: 0 / 460.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003456/0.5225, allocations: 0.642 MB / 461.4 MB, free: 6.367 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 (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.0003781/0.5229, allocations: 152.6 kB / 461.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005598/0.5285, allocations: 3.645 MB / 465.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5286, allocations: 0 / 465.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5297, allocations: 0.9281 MB / 466.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.5314, allocations: 250.8 kB / 466.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.5417, allocations: 5.506 MB / 471.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.544, allocations: 2.192 MB / 474 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003254/0.5472, allocations: 1.396 MB / 475.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.5476, allocations: 159.4 kB / 475.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5476, allocations: 4 kB / 475.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of Templates: time 0.04451/0.5921, allocations: 22.97 MB / 498.6 MB, free: 1.109 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (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)