Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009385/0.0009387, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0009657/0.0009657, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.0005523/0.0005524, allocations: 15.98 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2824, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01369/0.2961, allocations: 11.99 MB / 338.4 MB, free: 7.488 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3063, allocations: 4.112 MB / 342.5 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/0.3096, allocations: 51.88 kB / 342.6 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.3118, allocations: 0.5405 MB / 343.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006866/0.3187, allocations: 1.944 MB / 345.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3202, allocations: 399.2 kB / 345.5 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.3235, allocations: 1.443 MB / 346.9 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.3262, allocations: 1.329 MB / 348.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.3276, allocations: 0.5995 MB / 348.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.3292, allocations: 0.8332 MB / 349.7 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.3299, allocations: 80 kB / 349.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.3317, allocations: 0.7099 MB / 350.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.333, allocations: 0.8766 MB / 351.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.3339, allocations: 496.1 kB / 351.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.3382, allocations: 2.959 MB / 354.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3382, allocations: 0 / 354.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3382, allocations: 4 kB / 354.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.3384, allocations: 0 / 354.8 MB, free: 7.055 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.005436/0.3438, allocations: 2.5 MB / 357.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3439, allocations: 11.97 kB / 357.3 MB, free: 4.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/0.3509, allocations: 1.97 MB / 359.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.3546, allocations: 1.542 MB / 360.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.3548, allocations: 122.9 kB / 360.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007386/0.3555, allocations: 151.9 kB / 361.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.3674, allocations: 6.386 MB / 367.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.3676, allocations: 31.66 kB / 367.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006466/0.3683, allocations: 79.89 kB / 367.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.3711, allocations: 1.437 MB / 369 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.3825, allocations: 5.689 MB / 374.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/0.4194, allocations: 26.35 MB / 401.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/0.4238, allocations: 2.25 MB / 403.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.4238, allocations: 15.98 kB / 403.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4239, allocations: 47.17 kB / 403.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.737e-06/0.4239, allocations: 0 / 403.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.02199/0.4459, allocations: 8.88 MB / 412.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.446, allocations: 140.5 kB / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.4503, allocations: 2.945 MB / 415.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.4505, allocations: 37.7 kB / 415.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.452, allocations: 2.079 MB / 417.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.4525, allocations: 446.6 kB / 417.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.4527, allocations: 87.94 kB / 418 MB, free: 5.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.453, allocations: 495.6 kB / 418.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.4551, allocations: 1.394 MB / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.4591, allocations: 4.195 MB / 424 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.4626, allocations: 2.378 MB / 426.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/0.4627, allocations: 28 kB / 426.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01098/0.4737, allocations: 6.04 MB / 432.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4738, allocations: 48.19 kB / 432.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/0.474, allocations: 104 kB / 432.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.4764, allocations: 0.8201 MB / 433.5 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.4794, allocations: 0.9825 MB / 434.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.4849, allocations: 4.243 MB / 438.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/0.4883, allocations: 255.5 kB / 438.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008063/0.4891, allocations: 272 kB / 439.2 MB, free: 15.12 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 (533): * Single equations (assignments): 529 * 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.002941/0.4921, allocations: 1.371 MB / 440.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/0.4927, allocations: 233 kB / 440.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/0.4968, allocations: 1.849 MB / 442.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.4968, allocations: 15.94 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.4968, allocations: 7.953 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.4969, allocations: 3.984 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.507, allocations: 4.805 MB / 447.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.5071, allocations: 0 / 447.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.5077, allocations: 135.8 kB / 447.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/0.5099, allocations: 0.6444 MB / 448.3 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.5101, allocations: 23.98 kB / 448.3 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/0.5168, allocations: 3.792 MB / 452.1 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.5169, allocations: 7.969 kB / 452.1 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1948/0.7117, allocations: 3.783 MB / 455.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7129, allocations: 447.5 kB / 456.3 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.7131, allocations: 16.94 kB / 456.3 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/0.714, allocations: 58.14 kB / 456.4 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.7142, allocations: 57.58 kB / 456.4 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.7143, allocations: 36.02 kB / 456.5 MB, free: 107.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0026/0.7169, allocations: 1.839 MB / 458.3 MB, free: 107.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7169, allocations: 3.375 kB / 458.3 MB, free: 107.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003424/0.7203, allocations: 0.6654 MB / 459 MB, free: 107.5 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 (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.0003768/0.7207, allocations: 161.5 kB / 459.1 MB, free: 107.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.7248, allocations: 3.392 MB / 462.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7248, allocations: 0 / 462.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.7257, allocations: 0.9234 MB / 463.4 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.7267, allocations: 238 kB / 463.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.7334, allocations: 6.412 MB / 470.1 MB, free: 102.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.7348, allocations: 2.247 MB / 472.3 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002687/0.7375, allocations: 1.406 MB / 473.7 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.7379, allocations: 163.4 kB / 473.9 MB, free: 101.1 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7379, allocations: 0 / 473.9 MB, free: 101.1 MB / 382.1 MB Notification: Performance of Templates: time 0.02962/0.7675, allocations: 22.01 MB / 495.9 MB, free: 79.09 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) Environment - environmentSimulation: