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.001252/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001393/0.001393, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2577, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008486/0.2662, allocations: 7.121 MB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.273, allocations: 3.163 MB / 335.6 MB, free: 9.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2741, allocations: 31.94 kB / 335.6 MB, free: 9.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.2759, allocations: 0.7859 MB / 336.4 MB, free: 8.789 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.2791, allocations: 1.308 MB / 337.7 MB, free: 7.477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2802, allocations: 0.4912 MB / 338.2 MB, free: 6.984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.2834, allocations: 2.539 MB / 340.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.2851, allocations: 1.165 MB / 341.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.2863, allocations: 0.7588 MB / 342.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.2879, allocations: 1.106 MB / 343.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004188/0.2883, allocations: 132 kB / 343.9 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.29, allocations: 0.8736 MB / 344.8 MB, free: 388 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.291, allocations: 1.005 MB / 345.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.2927, allocations: 1.203 MB / 347 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.2968, allocations: 3.786 MB / 350.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2968, allocations: 0 / 350.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2968, allocations: 0 / 350.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.264e-05/0.2969, allocations: 0 / 350.8 MB, free: 10.36 MB / 286.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.004388/0.3013, allocations: 2.882 MB / 353.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3013, allocations: 12.02 kB / 353.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/0.3074, allocations: 1.643 MB / 355.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.3097, allocations: 1.371 MB / 356.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3098, allocations: 118.8 kB / 356.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.3101, allocations: 151.9 kB / 357 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.3197, allocations: 6.363 MB / 363.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.3198, allocations: 31.66 kB / 363.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.32, allocations: 83.89 kB / 363.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002567/0.3226, allocations: 1.433 MB / 364.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.3327, allocations: 5.666 MB / 370.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03233/0.3651, allocations: 26.31 MB / 396.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.3697, allocations: 2.267 MB / 399.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.3712, allocations: 1.019 MB / 400.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.3712, allocations: 15.98 kB / 400.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.3713, allocations: 50.25 kB / 400.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.557e-06/0.3713, allocations: 0 / 400.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.0216/0.3929, allocations: 8.596 MB / 408.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.393, allocations: 148.4 kB / 408.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.3971, allocations: 2.827 MB / 411.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/0.3972, allocations: 33.7 kB / 411.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.3986, allocations: 2.071 MB / 413.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.3991, allocations: 450.6 kB / 414.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.4002, allocations: 0.8769 MB / 415.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4003, allocations: 305.1 kB / 415.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.4025, allocations: 1.414 MB / 416.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/0.4065, allocations: 4.246 MB / 421.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.4134, allocations: 6.141 MB / 427.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-05/0.4136, allocations: 28 kB / 427.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01097/0.4245, allocations: 6.115 MB / 433.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4247, allocations: 48 kB / 433.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.4248, allocations: 100 kB / 433.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.4272, allocations: 0.8045 MB / 434.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.4301, allocations: 0.9864 MB / 435.4 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.4362, allocations: 4.476 MB / 439.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.4392, allocations: 243.6 kB / 440.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005106/0.4398, allocations: 284 kB / 440.3 MB, free: 11.89 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.002201/0.442, allocations: 1.368 MB / 441.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/0.4424, allocations: 229 kB / 441.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.4463, allocations: 1.861 MB / 443.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.4464, allocations: 16.36 kB / 443.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.4464, allocations: 7.938 kB / 443.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.4464, allocations: 3.984 kB / 443.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008411/0.4548, allocations: 4.794 MB / 448.6 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4548, allocations: 7.938 kB / 448.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.4555, allocations: 131.8 kB / 448.8 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.4576, allocations: 0.6483 MB / 449.4 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/0.4577, allocations: 27.92 kB / 449.4 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1657/0.6234, allocations: 3.935 MB / 453.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.6235, allocations: 6.844 kB / 453.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/0.6293, allocations: 3.693 MB / 457.1 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/0.6301, allocations: 433.8 kB / 457.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/0.6305, allocations: 17.59 kB / 457.5 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6316, allocations: 61.86 kB / 457.6 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6317, allocations: 57.67 kB / 457.6 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.6318, allocations: 29.34 kB / 457.6 MB, free: 107.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002611/0.6344, allocations: 1.769 MB / 459.4 MB, free: 107.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6344, allocations: 0 / 459.4 MB, free: 107.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003029/0.6375, allocations: 0.6434 MB / 460.1 MB, free: 107.1 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.0003118/0.6378, allocations: 151 kB / 460.2 MB, free: 107 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.6423, allocations: 3.631 MB / 463.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6424, allocations: 3.938 kB / 463.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.6433, allocations: 0.9352 MB / 464.8 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6449, allocations: 258 kB / 465 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007041/0.6519, allocations: 5.508 MB / 470.5 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.654, allocations: 2.191 MB / 472.7 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00298/0.657, allocations: 1.404 MB / 474.1 MB, free: 98.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.6575, allocations: 159.4 kB / 474.3 MB, free: 98.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6575, allocations: 0 / 474.3 MB, free: 98.82 MB / 382.1 MB Notification: Performance of Templates: time 0.03445/0.6919, allocations: 22.96 MB / 497.2 MB, free: 75.91 MB / 382.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)