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.0009512/0.0009511, allocations: 91.8 kB / 16.65 MB, free: 6.59 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.0008993/0.0008993, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.347/1.347, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004792/0.0004792, allocations: 8.516 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09519, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01474/0.11, allocations: 13.52 MB / 341.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1204, allocations: 4.301 MB / 346.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/0.1234, allocations: 59.81 kB / 346.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1244, allocations: 286.7 kB / 346.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.1278, allocations: 1.223 MB / 347.7 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.129, allocations: 455.2 kB / 348.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.133, allocations: 3.456 MB / 351.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.1356, allocations: 1.414 MB / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1367, allocations: 0.6378 MB / 353.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.1383, allocations: 1.152 MB / 354.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.1385, allocations: 80 kB / 354.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1399, allocations: 0.8735 MB / 355.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.1407, allocations: 0.9815 MB / 356.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.1416, allocations: 1.158 MB / 357.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.145, allocations: 3.702 MB / 361.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.145, allocations: 0 / 361.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1451, allocations: 0 / 361.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.1451, allocations: 0 / 361.6 MB, free: 2.316 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.004007/0.1491, allocations: 2.411 MB / 364 MB, free: 15.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1492, allocations: 8.031 kB / 364 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.1553, allocations: 1.686 MB / 365.7 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.1578, allocations: 1.359 MB / 367.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.1579, allocations: 122.8 kB / 367.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.1582, allocations: 155.8 kB / 367.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009456/0.1677, allocations: 6.371 MB / 373.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.767e-05/0.1678, allocations: 31.73 kB / 373.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.168, allocations: 79.89 kB / 373.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00251/0.1706, allocations: 1.441 MB / 375.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1985/0.3691, allocations: 5.681 MB / 380.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/0.3995, allocations: 26.28 MB / 407.2 MB, free: 30.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.4036, allocations: 2.264 MB / 409.5 MB, free: 28.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.4048, allocations: 1.025 MB / 410.5 MB, free: 28.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.4048, allocations: 13.78 kB / 410.5 MB, free: 28.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4049, allocations: 41.03 kB / 410.6 MB, free: 28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.837e-06/0.4049, allocations: 0.9062 kB / 410.6 MB, free: 28 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01939/0.4243, allocations: 8.576 MB / 419.1 MB, free: 21.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4244, allocations: 140.5 kB / 419.3 MB, free: 21.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.4276, allocations: 2.827 MB / 422.1 MB, free: 18.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.4278, allocations: 38.41 kB / 422.1 MB, free: 18.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009528/0.4288, allocations: 2.069 MB / 424.2 MB, free: 16.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.4292, allocations: 445.8 kB / 424.6 MB, free: 16.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.4296, allocations: 372.8 kB / 425 MB, free: 15.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.4296, allocations: 301.1 kB / 425.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.4314, allocations: 1.418 MB / 426.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.4342, allocations: 4.246 MB / 431 MB, free: 8.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/0.4392, allocations: 6.137 MB / 437.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.4393, allocations: 35.5 kB / 437.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01205/0.4514, allocations: 6.107 MB / 443.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4515, allocations: 48 kB / 443.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/0.4517, allocations: 100 kB / 443.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.454, allocations: 0.7996 MB / 444.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.4573, allocations: 0.9915 MB / 445.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/0.4628, allocations: 4.159 MB / 449.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.4659, allocations: 247.5 kB / 449.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005537/0.4665, allocations: 276.7 kB / 449.8 MB, free: 3.836 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.002305/0.4688, allocations: 1.365 MB / 451.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.4693, allocations: 229.1 kB / 451.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.4734, allocations: 1.861 MB / 453.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/0.4734, allocations: 16 kB / 453.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4734, allocations: 1.938 kB / 453.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.4735, allocations: 11.97 kB / 453.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/0.4834, allocations: 4.812 MB / 458.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4834, allocations: 0 / 458.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.4841, allocations: 131.8 kB / 458.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.4862, allocations: 0.6522 MB / 458.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4864, allocations: 17.56 kB / 458.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.4911, allocations: 3.695 MB / 462.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4911, allocations: 12.03 kB / 462.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005966/0.4971, allocations: 3.688 MB / 466.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.4982, allocations: 441.9 kB / 466.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.4986, allocations: 17.47 kB / 466.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4996, allocations: 63.86 kB / 466.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.4998, allocations: 51.92 kB / 466.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/0.4999, allocations: 32.92 kB / 466.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003244/0.5032, allocations: 1.766 MB / 468.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5032, allocations: 0 / 468.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003728/0.5069, allocations: 0.6425 MB / 469.3 MB, free: 76 kB / 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 (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.00038/0.5073, allocations: 144.3 kB / 469.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005517/0.5128, allocations: 3.412 MB / 472.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5129, allocations: 4 kB / 472.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.5142, allocations: 0.9215 MB / 473.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.5167, allocations: 256.2 kB / 474.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.5276, allocations: 6.717 MB / 480.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.5305, allocations: 2.184 MB / 483 MB, free: 2.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003353/0.5339, allocations: 1.4 MB / 484.4 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.5343, allocations: 163.4 kB / 484.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5343, allocations: 0 / 484.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of Templates: time 0.0442/0.5785, allocations: 21.83 MB / 0.4945 GB, free: 11 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)