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.008905/0.008905, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001601/0.001601, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001198/0.001198, allocations: 49.31 kB / 326.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008884/0.1156, allocations: 7.113 MB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006877/0.1225, allocations: 3.151 MB / 383.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.124, allocations: 35.88 kB / 383.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.1266, allocations: 0.786 MB / 384.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.1305, allocations: 1.315 MB / 385.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1319, allocations: 0.4989 MB / 386.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.1358, allocations: 2.543 MB / 388.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.1378, allocations: 1.157 MB / 389.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1394, allocations: 0.7705 MB / 390.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.1413, allocations: 1.106 MB / 391.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006066/0.1419, allocations: 136 kB / 391.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.144, allocations: 0.8775 MB / 392.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.1453, allocations: 1.001 MB / 393.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.1473, allocations: 1.199 MB / 394.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.1535, allocations: 3.958 MB / 398.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.1536, allocations: 0 / 398.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1536, allocations: 0 / 398.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.1538, allocations: 0 / 398.8 MB, free: 7.551 MB / 334.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.008515/0.1623, allocations: 2.894 MB / 401.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1624, allocations: 8.031 kB / 401.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006109/0.1685, allocations: 1.635 MB / 403.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.1719, allocations: 1.383 MB / 404.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.172, allocations: 118.8 kB / 404.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.1724, allocations: 155.8 kB / 405 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00986/0.1822, allocations: 6.363 MB / 411.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.67e-05/0.1823, allocations: 39.66 kB / 411.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.1826, allocations: 75.89 kB / 411.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/0.1852, allocations: 1.437 MB / 412.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.196, allocations: 5.67 MB / 418.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03236/0.2284, allocations: 26.21 MB / 444.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.2329, allocations: 2.274 MB / 447.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.2342, allocations: 1.018 MB / 448.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.2342, allocations: 19.98 kB / 448.1 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2343, allocations: 42.5 kB / 448.2 MB, free: 4.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 4.619e-06/0.2343, allocations: 0 / 448.2 MB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.2075/0.4418, allocations: 8.602 MB / 456.8 MB, free: 69.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.4419, allocations: 137.2 kB / 456.9 MB, free: 69.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.4466, allocations: 2.827 MB / 459.7 MB, free: 68.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.4468, allocations: 41.36 kB / 459.8 MB, free: 68.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.4481, allocations: 2.079 MB / 461.8 MB, free: 67.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.4485, allocations: 435.5 kB / 462.3 MB, free: 66.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.4496, allocations: 0.8817 MB / 463.1 MB, free: 66.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.4497, allocations: 307 kB / 463.4 MB, free: 65.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.4518, allocations: 1.414 MB / 464.9 MB, free: 65.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.4549, allocations: 4.251 MB / 469.1 MB, free: 61.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/0.4598, allocations: 6.135 MB / 475.2 MB, free: 55.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-05/0.4599, allocations: 27.5 kB / 475.3 MB, free: 55.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.00869/0.4686, allocations: 6.103 MB / 481.4 MB, free: 53.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.4687, allocations: 48.66 kB / 481.4 MB, free: 53.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-05/0.4688, allocations: 100.2 kB / 481.5 MB, free: 53.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.4708, allocations: 0.7965 MB / 482.3 MB, free: 53.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.4731, allocations: 0.9942 MB / 483.3 MB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.4775, allocations: 4.475 MB / 487.8 MB, free: 48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.4805, allocations: 247.5 kB / 488 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.4807, allocations: 277.4 kB / 488.3 MB, free: 47.49 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.001432/0.4822, allocations: 1.373 MB / 489.7 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.4825, allocations: 232.9 kB / 489.9 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.4856, allocations: 1.861 MB / 491.8 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.4856, allocations: 12 kB / 491.8 MB, free: 44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4857, allocations: 4 kB / 491.8 MB, free: 43.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4857, allocations: 3.984 kB / 491.8 MB, free: 43.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.4927, allocations: 4.788 MB / 496.6 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4927, allocations: 5.531 kB / 496.6 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.4932, allocations: 131.9 kB / 496.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.4951, allocations: 0.6522 MB / 497.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.4952, allocations: 18.84 kB / 497.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.4991, allocations: 3.95 MB / 0.4896 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4991, allocations: 0.6562 kB / 0.4896 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.5036, allocations: 3.693 MB / 0.4932 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/0.5046, allocations: 441.8 kB / 0.4936 GB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5049, allocations: 15.12 kB / 0.4936 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.5057, allocations: 70.91 kB / 0.4937 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.5059, allocations: 51.92 kB / 0.4937 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.5059, allocations: 28 kB / 0.4938 GB, free: 29.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.5079, allocations: 1.766 MB / 0.4955 GB, free: 28.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.508, allocations: 0 / 0.4955 GB, free: 28.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003197/0.5112, allocations: 0.6406 MB / 0.4961 GB, free: 27.51 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.0003542/0.5115, allocations: 156.6 kB / 0.4963 GB, free: 27.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004718/0.5163, allocations: 3.422 MB / 0.4996 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5163, allocations: 0 / 0.4996 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.5172, allocations: 0.9241 MB / 0.5005 GB, free: 23.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5186, allocations: 272.8 kB / 0.5008 GB, free: 22.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.5256, allocations: 5.436 MB / 0.5061 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.5272, allocations: 2.192 MB / 0.5082 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002372/0.5295, allocations: 1.404 MB / 0.5096 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.5299, allocations: 163.4 kB / 0.5097 GB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5299, allocations: 4 kB / 0.5097 GB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.03624/0.5661, allocations: 20.48 MB / 0.5297 GB, free: 9.109 MB / 398.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)