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.001076/0.001076, allocations: 111 kB / 17.06 MB, free: 5.965 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.001013/0.001014, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001122/0.001122, allocations: 47.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09986, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2246/0.3245, allocations: 7.115 MB / 381.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008282/0.3329, allocations: 3.161 MB / 384.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.3343, allocations: 31.28 kB / 384.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3362, allocations: 0.7854 MB / 385.6 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.3399, allocations: 1.321 MB / 386.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3411, allocations: 0.4987 MB / 387.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.3451, allocations: 2.533 MB / 389.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.3468, allocations: 1.16 MB / 391.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.3481, allocations: 0.7659 MB / 391.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3496, allocations: 1.11 MB / 393 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003462/0.35, allocations: 135.3 kB / 393.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3519, allocations: 0.8692 MB / 394 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.3529, allocations: 1.01 MB / 395 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009107/0.3538, allocations: 1.192 MB / 396.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.3579, allocations: 3.962 MB / 400.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3579, allocations: 0 / 400.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3579, allocations: 5.062 kB / 400.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.419e-05/0.358, allocations: 0 / 400.1 MB, free: 1.391 MB / 318.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.005849/0.3639, allocations: 2.887 MB / 403 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3639, allocations: 8.75 kB / 403 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/0.371, allocations: 1.642 MB / 404.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.3746, allocations: 1.381 MB / 406.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3747, allocations: 125.5 kB / 406.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.375, allocations: 156 kB / 406.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009382/0.3844, allocations: 6.367 MB / 412.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.9e-05/0.3845, allocations: 31.66 kB / 412.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.3848, allocations: 79.89 kB / 412.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.3872, allocations: 1.429 MB / 414.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.3975, allocations: 5.677 MB / 419.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03166/0.4292, allocations: 26.2 MB / 446.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/0.4336, allocations: 2.267 MB / 448.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.435, allocations: 1.031 MB / 449.4 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4352, allocations: 11.98 kB / 449.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4352, allocations: 50.5 kB / 449.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.586e-06/0.4352, allocations: 0 / 449.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02063/0.4558, allocations: 8.607 MB / 458.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.456, allocations: 144.4 kB / 458.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.4599, allocations: 2.824 MB / 461 MB, free: 7.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.46, allocations: 41.7 kB / 461.1 MB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4615, allocations: 2.071 MB / 463.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.462, allocations: 438.6 kB / 463.6 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4631, allocations: 0.8886 MB / 464.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4632, allocations: 301.3 kB / 464.8 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.4652, allocations: 1.414 MB / 466.2 MB, free: 1.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/0.4693, allocations: 4.254 MB / 470.4 MB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006833/0.4761, allocations: 6.135 MB / 476.6 MB, free: 4.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.689e-05/0.4762, allocations: 32 kB / 476.6 MB, free: 4.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01095/0.4872, allocations: 6.101 MB / 482.7 MB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.4873, allocations: 56.06 kB / 482.8 MB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.89e-05/0.4874, allocations: 100 kB / 482.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.4897, allocations: 0.7928 MB / 483.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.4925, allocations: 0.9902 MB / 484.6 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/0.4989, allocations: 4.48 MB / 489.1 MB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.5028, allocations: 243.6 kB / 489.4 MB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/0.5035, allocations: 276 kB / 489.6 MB, free: 7.492 MB / 414.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.002399/0.5059, allocations: 1.368 MB / 491 MB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.5063, allocations: 229 kB / 491.2 MB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/0.5102, allocations: 1.857 MB / 493.1 MB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.5103, allocations: 12 kB / 493.1 MB, free: 4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5103, allocations: 7.938 kB / 493.1 MB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5103, allocations: 3.984 kB / 493.1 MB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009367/0.5197, allocations: 4.805 MB / 497.9 MB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.5197, allocations: 4 kB / 497.9 MB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.5204, allocations: 143.8 kB / 498 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.5224, allocations: 0.6405 MB / 498.7 MB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.5225, allocations: 16 kB / 498.7 MB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.5273, allocations: 3.956 MB / 0.4909 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5273, allocations: 4.031 kB / 0.4909 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/0.533, allocations: 3.697 MB / 0.4945 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.5342, allocations: 437.9 kB / 0.4949 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.5344, allocations: 16 kB / 0.4949 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.5353, allocations: 67.84 kB / 0.495 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5355, allocations: 47.94 kB / 0.495 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/0.5356, allocations: 31.98 kB / 0.4951 GB, free: 5.852 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.5384, allocations: 1.762 MB / 0.4968 GB, free: 4.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5384, allocations: 64 / 0.4968 GB, free: 4.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003561/0.5419, allocations: 0.6445 MB / 0.4974 GB, free: 3.438 MB / 430.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.0003614/0.5423, allocations: 151 kB / 0.4976 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005303/0.5476, allocations: 3.418 MB / 0.5009 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5477, allocations: 0 / 0.5009 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.5489, allocations: 0.9361 MB / 0.5018 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.5507, allocations: 262.5 kB / 0.5021 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/0.5601, allocations: 5.436 MB / 0.5074 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.5622, allocations: 2.198 MB / 0.5095 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003126/0.5654, allocations: 1.4 MB / 0.5109 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.5659, allocations: 163.4 kB / 0.511 GB, free: 5.391 MB / 446.1 MB Notification: Performance of SimCode: time 2.074e-06/0.5659, allocations: 3.938 kB / 0.511 GB, free: 5.387 MB / 446.1 MB Notification: Performance of Templates: time 0.04216/0.608, allocations: 20.47 MB / 0.531 GB, free: 0.8789 MB / 462.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)