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.00111/0.00111, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001037/0.001037, allocations: 192 kB / 18 MB, free: 4.977 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.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001174/0.001174, allocations: 55.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09453, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2065/0.301, allocations: 7.114 MB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005987/0.3071, allocations: 3.161 MB / 384.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3082, allocations: 32.19 kB / 384.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.3102, allocations: 0.7858 MB / 385.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.3135, allocations: 1.318 MB / 386.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3148, allocations: 0.4909 MB / 387.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004098/0.3189, allocations: 2.537 MB / 389.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.3206, allocations: 1.161 MB / 391.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.3221, allocations: 0.7584 MB / 391.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.3238, allocations: 1.111 MB / 393 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.3242, allocations: 135.2 kB / 393.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.326, allocations: 0.877 MB / 394 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.3271, allocations: 1.001 MB / 395 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009644/0.3281, allocations: 1.195 MB / 396.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.3324, allocations: 3.967 MB / 400.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3324, allocations: 0 / 400.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3324, allocations: 0 / 400.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.3325, allocations: 1.156 kB / 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.007164/0.3397, allocations: 2.894 MB / 403 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3398, allocations: 10.28 kB / 403 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/0.3459, allocations: 1.634 MB / 404.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.349, allocations: 1.384 MB / 406.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.3491, allocations: 124.5 kB / 406.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.3495, allocations: 152.2 kB / 406.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.3596, allocations: 6.366 MB / 412.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/0.3597, allocations: 31.66 kB / 412.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.3599, allocations: 79.89 kB / 412.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002486/0.3624, allocations: 1.433 MB / 414.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/0.3723, allocations: 5.677 MB / 419.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03214/0.4044, allocations: 26.19 MB / 446.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.4092, allocations: 2.276 MB / 448.4 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.4107, allocations: 1.03 MB / 449.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.4107, allocations: 15.98 kB / 449.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4108, allocations: 42.56 kB / 449.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.938e-06/0.4108, allocations: 0 / 449.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02383/0.4346, allocations: 8.607 MB / 458.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.4348, allocations: 144.5 kB / 458.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/0.44, allocations: 2.828 MB / 461 MB, free: 7.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000304/0.4404, allocations: 37.7 kB / 461.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.4423, allocations: 2.075 MB / 463.2 MB, free: 5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/0.443, allocations: 442.5 kB / 463.6 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/0.445, allocations: 0.8847 MB / 464.5 MB, free: 3.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4452, allocations: 301.1 kB / 464.8 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.4478, allocations: 1.418 MB / 466.2 MB, free: 1.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/0.4525, allocations: 4.246 MB / 470.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/0.4603, allocations: 6.135 MB / 476.6 MB, free: 4.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.4605, allocations: 32 kB / 476.6 MB, free: 4.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01365/0.4741, allocations: 6.105 MB / 482.7 MB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.4743, allocations: 48 kB / 482.7 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/0.4745, allocations: 100 kB / 482.8 MB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.477, allocations: 0.797 MB / 483.6 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.4802, allocations: 0.9902 MB / 484.6 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.4862, allocations: 4.484 MB / 489.1 MB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.4897, allocations: 243.6 kB / 489.4 MB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/0.4904, allocations: 272 kB / 489.6 MB, free: 7.504 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.002793/0.4932, allocations: 1.379 MB / 491 MB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/0.4938, allocations: 229 kB / 491.2 MB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.498, allocations: 1.853 MB / 493.1 MB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.4981, allocations: 12 kB / 493.1 MB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.4981, allocations: 7.938 kB / 493.1 MB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4981, allocations: 7.984 kB / 493.1 MB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009819/0.5079, allocations: 4.801 MB / 497.9 MB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.508, allocations: 4 kB / 497.9 MB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.5086, allocations: 131.8 kB / 498 MB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.5107, allocations: 0.6405 MB / 498.7 MB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.5108, allocations: 20.06 kB / 498.7 MB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.5157, allocations: 3.966 MB / 0.4909 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5157, allocations: 0 / 0.4909 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/0.5216, allocations: 3.693 MB / 0.4945 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5227, allocations: 437.9 kB / 0.4949 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/0.5233, allocations: 16 kB / 0.4949 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.5245, allocations: 63.84 kB / 0.495 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.5246, allocations: 59.91 kB / 0.495 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.5247, allocations: 24 kB / 0.4951 GB, free: 5.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003714/0.5285, allocations: 1.77 MB / 0.4968 GB, free: 4.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5285, allocations: 3.938 kB / 0.4968 GB, free: 4.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004554/0.533, allocations: 0.6406 MB / 0.4974 GB, free: 3.441 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.0005651/0.5336, allocations: 143.1 kB / 0.4976 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005835/0.5395, allocations: 3.42 MB / 0.5009 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5395, allocations: 0.9375 kB / 0.5009 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.5408, allocations: 0.9419 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.002171/0.543, allocations: 252 kB / 0.5021 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.5543, allocations: 5.443 MB / 0.5074 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/0.5574, allocations: 2.196 MB / 0.5095 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003187/0.5606, allocations: 1.392 MB / 0.5109 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.5613, allocations: 167.4 kB / 0.511 GB, free: 5.402 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5613, allocations: 0 / 0.511 GB, free: 5.402 MB / 446.1 MB Notification: Performance of Templates: time 0.0422/0.6035, allocations: 20.72 MB / 0.5313 GB, free: 0.6523 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)