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.001594/0.001594, allocations: 103.1 kB / 16.62 MB, free: 6.809 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.001681/0.001681, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.352/1.352, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001133/0.001133, allocations: 55.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09304, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01275/0.1058, allocations: 14.1 MB / 340.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007464/0.1133, allocations: 4.262 MB / 344.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.1148, allocations: 63.81 kB / 344.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.1164, allocations: 0.7282 MB / 345.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.1189, allocations: 1.234 MB / 346.5 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.1198, allocations: 459.3 kB / 347 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.1225, allocations: 2.571 MB / 349.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.1239, allocations: 1.247 MB / 350.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.1248, allocations: 0.7705 MB / 351.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.1262, allocations: 1.25 MB / 352.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1264, allocations: 136 kB / 353 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1277, allocations: 0.8814 MB / 353.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.1285, allocations: 1.021 MB / 354.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.1294, allocations: 1.219 MB / 356.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.1329, allocations: 3.839 MB / 359.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1329, allocations: 3.938 kB / 359.9 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1329, allocations: 4 kB / 359.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.913e-05/0.133, allocations: 0 / 359.9 MB, free: 2.871 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.005404/0.1384, allocations: 2.89 MB / 362.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1385, allocations: 8.031 kB / 362.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.1442, allocations: 1.635 MB / 364.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.1469, allocations: 1.367 MB / 365.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.147, allocations: 122.8 kB / 365.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.1473, allocations: 155.8 kB / 366.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008863/0.1562, allocations: 6.363 MB / 372.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.1563, allocations: 27.75 kB / 372.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.1565, allocations: 83.89 kB / 372.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/0.1588, allocations: 1.437 MB / 374 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1672/0.326, allocations: 5.664 MB / 379.7 MB, free: 49.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.3506, allocations: 26.3 MB / 406 MB, free: 30.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.3544, allocations: 2.257 MB / 408.2 MB, free: 29.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009582/0.3554, allocations: 1.024 MB / 409.2 MB, free: 28.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.3554, allocations: 11.42 kB / 409.3 MB, free: 28.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3555, allocations: 44.91 kB / 409.3 MB, free: 28.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.3555, allocations: 0 / 409.3 MB, free: 28.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01703/0.3725, allocations: 8.604 MB / 417.9 MB, free: 22.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3726, allocations: 144.5 kB / 418 MB, free: 22.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.3755, allocations: 2.829 MB / 420.9 MB, free: 19.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.3756, allocations: 41.7 kB / 420.9 MB, free: 19.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.3765, allocations: 2.069 MB / 423 MB, free: 17.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.3768, allocations: 441.3 kB / 423.4 MB, free: 16.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008802/0.3777, allocations: 0.8836 MB / 424.3 MB, free: 16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.3778, allocations: 309.1 kB / 424.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.3794, allocations: 1.418 MB / 426 MB, free: 14.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.3819, allocations: 4.239 MB / 430.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/0.3864, allocations: 6.146 MB / 436.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.3864, allocations: 35.88 kB / 436.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009684/0.3961, allocations: 6.099 MB / 442.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.3962, allocations: 48 kB / 442.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.914e-05/0.3963, allocations: 100 kB / 442.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.3985, allocations: 0.7999 MB / 443.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.4012, allocations: 0.9902 MB / 444.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.4069, allocations: 4.466 MB / 448.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.4095, allocations: 247.6 kB / 449.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.4098, allocations: 279.4 kB / 449.5 MB, free: 3.848 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.001658/0.4115, allocations: 1.372 MB / 450.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.4118, allocations: 232.9 kB / 451 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.4154, allocations: 1.853 MB / 452.9 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.4154, allocations: 12 kB / 452.9 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4154, allocations: 6 kB / 452.9 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4154, allocations: 15.97 kB / 452.9 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.423, allocations: 4.803 MB / 457.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.423, allocations: 5.312 kB / 457.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.4236, allocations: 131.8 kB / 457.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.4256, allocations: 0.656 MB / 458.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.4257, allocations: 27.89 kB / 458.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.4302, allocations: 3.943 MB / 462.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4302, allocations: 3.047 kB / 462.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.4354, allocations: 3.684 MB / 466.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.436, allocations: 437.9 kB / 466.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.4363, allocations: 15.94 kB / 466.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.4371, allocations: 63.91 kB / 466.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4373, allocations: 63.58 kB / 466.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.4373, allocations: 28.94 kB / 466.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002163/0.4395, allocations: 1.758 MB / 468.5 MB, free: 480 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4395, allocations: 3.938 kB / 468.5 MB, free: 476 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002779/0.4423, allocations: 0.6575 MB / 469.2 MB, free: 15.81 MB / 366.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.0002851/0.4426, allocations: 145.6 kB / 469.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.4472, allocations: 3.636 MB / 473 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4472, allocations: 0 / 473 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4484, allocations: 0.9307 MB / 473.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.4497, allocations: 256.9 kB / 474.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.4571, allocations: 6.646 MB / 480.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.4589, allocations: 2.193 MB / 483 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002918/0.4619, allocations: 1.396 MB / 484.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.4622, allocations: 159.4 kB / 484.6 MB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4622, allocations: 0 / 484.6 MB, free: 404 kB / 366.1 MB Notification: Performance of Templates: time 0.03646/0.4987, allocations: 22.97 MB / 0.4956 GB, free: 9.414 MB / 398.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)