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.0008931/0.0008934, allocations: 90.78 kB / 16.31 MB, free: 5.559 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.0008081/0.0008082, allocations: 180.3 kB / 17.21 MB, free: 5.477 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.423/1.423, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.0004684/0.0004685, allocations: 12 kB / 280.2 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 47.57 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01235/0.1154, allocations: 12.65 MB / 340.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009211/0.1247, allocations: 4.01 MB / 344.4 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.127, allocations: 59.88 kB / 344.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.1289, allocations: 0.6026 MB / 345 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.1345, allocations: 2.137 MB / 347.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1358, allocations: 415.3 kB / 347.6 MB, free: 136 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.1396, allocations: 2.723 MB / 350.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.1422, allocations: 1.333 MB / 351.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.1437, allocations: 0.7082 MB / 352.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.1458, allocations: 1.145 MB / 353.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005038/0.1463, allocations: 83.98 kB / 353.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.148, allocations: 0.7216 MB / 354.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.1493, allocations: 0.9427 MB / 355.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.15, allocations: 496.1 kB / 355.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.1535, allocations: 2.947 MB / 358.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1535, allocations: 4 kB / 358.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1535, allocations: 0 / 358.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.786e-05/0.1536, allocations: 0 / 358.7 MB, free: 4.973 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.004536/0.1581, allocations: 2.445 MB / 361.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1582, allocations: 8.031 kB / 361.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.1637, allocations: 1.685 MB / 362.8 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.1662, allocations: 1.335 MB / 364.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1663, allocations: 114.9 kB / 364.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1666, allocations: 155.6 kB / 364.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009253/0.1759, allocations: 6.371 MB / 370.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.56e-05/0.176, allocations: 27.75 kB / 370.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.1763, allocations: 79.89 kB / 370.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/0.1785, allocations: 1.441 MB / 372.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009918/0.1884, allocations: 5.65 MB / 378 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2129/0.4013, allocations: 26.27 MB / 404.3 MB, free: 30.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.406, allocations: 2.258 MB / 406.5 MB, free: 29.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4074, allocations: 1.02 MB / 407.5 MB, free: 28.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.4075, allocations: 23.5 kB / 407.6 MB, free: 28.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4075, allocations: 38.44 kB / 407.6 MB, free: 28.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.377e-06/0.4075, allocations: 0 / 407.6 MB, free: 28.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01835/0.4259, allocations: 8.561 MB / 416.2 MB, free: 24.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.426, allocations: 142.9 kB / 416.3 MB, free: 23.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.4292, allocations: 2.821 MB / 419.1 MB, free: 21.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.4293, allocations: 33.7 kB / 419.2 MB, free: 21.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.4303, allocations: 2.074 MB / 421.2 MB, free: 19.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.4306, allocations: 444 kB / 421.7 MB, free: 18.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.4308, allocations: 84 kB / 421.7 MB, free: 18.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.431, allocations: 499.7 kB / 422.2 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.4327, allocations: 1.398 MB / 423.6 MB, free: 16.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.4353, allocations: 4.23 MB / 427.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.438, allocations: 2.382 MB / 430.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/0.438, allocations: 32 kB / 430.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.008943/0.447, allocations: 6.062 MB / 436.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.4471, allocations: 60.2 kB / 436.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.4472, allocations: 100 kB / 436.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.4491, allocations: 0.812 MB / 437.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.4519, allocations: 0.9902 MB / 438.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005333/0.4572, allocations: 4.14 MB / 442.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.4604, allocations: 255.5 kB / 442.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005411/0.4609, allocations: 277.3 kB / 443 MB, free: 11.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002249/0.4632, allocations: 1.376 MB / 444.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.4637, allocations: 233 kB / 444.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.4676, allocations: 1.849 MB / 446.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.4677, allocations: 12 kB / 446.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.4677, allocations: 4 kB / 446.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.4677, allocations: 3.984 kB / 446.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0089/0.4766, allocations: 4.811 MB / 451.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.4767, allocations: 0 / 451.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.4773, allocations: 131.8 kB / 451.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.4792, allocations: 0.6483 MB / 452 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.4793, allocations: 20 kB / 452 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.484, allocations: 3.69 MB / 455.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4841, allocations: 0 / 455.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.49, allocations: 3.684 MB / 459.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.4911, allocations: 446 kB / 459.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.4914, allocations: 20.7 kB / 459.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.4922, allocations: 67.86 kB / 459.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.4924, allocations: 59.25 kB / 460 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.4925, allocations: 32 kB / 460 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.4952, allocations: 1.746 MB / 461.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4953, allocations: 0 / 461.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003527/0.4988, allocations: 0.6525 MB / 462.4 MB, free: 8.074 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003595/0.4992, allocations: 141.6 kB / 462.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.5051, allocations: 3.405 MB / 466 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5051, allocations: 0 / 466 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.5064, allocations: 0.9313 MB / 466.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.5081, allocations: 244.8 kB / 467.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00961/0.5178, allocations: 6.455 MB / 473.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.5199, allocations: 2.183 MB / 475.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003245/0.5232, allocations: 1.396 MB / 477.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.5236, allocations: 175.3 kB / 477.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5236, allocations: 0 / 477.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of Templates: time 0.04258/0.5662, allocations: 21.42 MB / 498.8 MB, free: 3.676 MB / 382.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)