Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009386/0.0009384, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005584/0.005584, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.377/1.377, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004878/0.0004879, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 47.59 MB / 327 MB, free: 1.352 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01316/0.2601, allocations: 13.51 MB / 340.6 MB, free: 5.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.2687, allocations: 4.301 MB / 344.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.2709, allocations: 55.88 kB / 344.9 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.2718, allocations: 274.7 kB / 345.2 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.2748, allocations: 1.234 MB / 346.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2759, allocations: 463.2 kB / 346.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004278/0.2802, allocations: 3.444 MB / 350.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.2825, allocations: 1.406 MB / 351.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2838, allocations: 0.6378 MB / 352.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.2854, allocations: 1.156 MB / 353.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.2856, allocations: 76 kB / 353.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.2871, allocations: 0.8813 MB / 354.5 MB, free: 7.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008824/0.288, allocations: 0.9659 MB / 355.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.2891, allocations: 1.17 MB / 356.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.293, allocations: 3.699 MB / 360.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.293, allocations: 0 / 360.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2931, allocations: 0 / 360.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.128e-05/0.2931, allocations: 0 / 360.3 MB, free: 1.945 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004435/0.2976, allocations: 2.403 MB / 362.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2976, allocations: 12.03 kB / 362.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.3037, allocations: 1.69 MB / 364.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.3063, allocations: 1.367 MB / 365.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.3065, allocations: 118.8 kB / 365.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.3068, allocations: 155.9 kB / 366 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008971/0.3158, allocations: 6.378 MB / 372.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.571e-05/0.3159, allocations: 27.75 kB / 372.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.3161, allocations: 79.89 kB / 372.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002406/0.3185, allocations: 1.437 MB / 374 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.3291, allocations: 5.685 MB / 379.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.3602, allocations: 26.28 MB / 405.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.3646, allocations: 2.262 MB / 408.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.3659, allocations: 1.027 MB / 409.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.366, allocations: 19.89 kB / 409.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.366, allocations: 42.31 kB / 409.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 2.926e-06/0.366, allocations: 0 / 409.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02043/0.3865, allocations: 8.572 MB / 417.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.3866, allocations: 140.5 kB / 418 MB, free: 6.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/0.3903, allocations: 2.835 MB / 420.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.3905, allocations: 41.69 kB / 420.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.3919, allocations: 2.071 MB / 422.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/0.3923, allocations: 434.6 kB / 423.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.3928, allocations: 375.4 kB / 423.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.3929, allocations: 305.1 kB / 424 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.395, allocations: 1.422 MB / 425.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/0.3991, allocations: 4.242 MB / 429.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.4061, allocations: 6.137 MB / 435.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-05/0.4062, allocations: 32 kB / 435.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01156/0.4178, allocations: 6.105 MB / 442 MB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.4179, allocations: 48 kB / 442 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/0.418, allocations: 100 kB / 442.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.4204, allocations: 0.801 MB / 442.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.4238, allocations: 0.9942 MB / 443.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.4294, allocations: 4.148 MB / 448.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.4325, allocations: 247.9 kB / 448.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000493/0.433, allocations: 276 kB / 448.6 MB, free: 4.797 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.002066/0.4351, allocations: 1.375 MB / 449.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.4355, allocations: 233.1 kB / 450.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/0.4393, allocations: 1.857 MB / 452 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/0.4394, allocations: 12 kB / 452 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4394, allocations: 4 kB / 452 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4394, allocations: 3.984 kB / 452 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2029/0.6423, allocations: 4.795 MB / 456.8 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6424, allocations: 1.312 kB / 456.8 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.6431, allocations: 145.3 kB / 457 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.6451, allocations: 0.642 MB / 457.6 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.6451, allocations: 15.58 kB / 457.6 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.6493, allocations: 3.69 MB / 461.3 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6493, allocations: 8.875 kB / 461.3 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/0.6547, allocations: 3.687 MB / 465 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009277/0.6556, allocations: 443.5 kB / 465.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.6559, allocations: 15.47 kB / 465.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.6567, allocations: 66.22 kB / 465.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6569, allocations: 56.14 kB / 465.6 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.657, allocations: 34.23 kB / 465.6 MB, free: 105.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002397/0.6594, allocations: 1.762 MB / 467.4 MB, free: 105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6594, allocations: 0 / 467.4 MB, free: 105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00294/0.6624, allocations: 0.6522 MB / 468 MB, free: 104.9 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.0003255/0.6627, allocations: 145.7 kB / 468.2 MB, free: 104.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.6672, allocations: 3.405 MB / 471.6 MB, free: 103.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6673, allocations: 0 / 471.6 MB, free: 103.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6683, allocations: 0.9303 MB / 472.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.6705, allocations: 247.9 kB / 472.8 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.6789, allocations: 6.731 MB / 479.5 MB, free: 95.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.6807, allocations: 2.195 MB / 481.7 MB, free: 92.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.6835, allocations: 1.392 MB / 483.1 MB, free: 91.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.6839, allocations: 167.4 kB / 483.2 MB, free: 91.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6839, allocations: 0 / 483.2 MB, free: 91.41 MB / 382.1 MB Notification: Performance of Templates: time 0.03455/0.7184, allocations: 21.82 MB / 0.4932 GB, free: 69.63 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)